Change argument of open_port/2 to string in order to shut up the dialyzer

This commit is contained in:
Evgeniy Khramtsov
2011-09-05 15:28:01 +10:00
parent 2434be4803
commit 1994c8a174
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ init([]) ->
ok -> ok;
{error, already_loaded} -> ok
end,
Port = open_port({spawn, stringprep_drv}, []),
Port = open_port({spawn, "stringprep_drv"}, []),
register(?STRINGPREP_PORT, Port),
{ok, Port}.