egs_prs: Replace an exit call by the more appropriate erlang:nif_error/1.
This commit is contained in:
parent
ecee1226aa
commit
b380fe9d23
@ -25,4 +25,4 @@ init() ->
|
||||
erlang:load_nif("priv/egs_drv", 0).
|
||||
|
||||
compress(_SrcBin) ->
|
||||
exit(nif_library_not_loaded).
|
||||
erlang:nif_error(not_loaded).
|
||||
|
Loading…
Reference in New Issue
Block a user