egs_prs: Replace an exit call by the more appropriate erlang:nif_error/1.

This commit is contained in:
Loïc Hoguin 2011-02-20 00:20:23 +01:00
parent ecee1226aa
commit b380fe9d23

View File

@ -25,4 +25,4 @@ init() ->
erlang:load_nif("priv/egs_drv", 0).
compress(_SrcBin) ->
exit(nif_library_not_loaded).
erlang:nif_error(not_loaded).