diff --git a/src/egs_prs.erl b/src/egs_prs.erl index b74b0a2..3ae7ba1 100644 --- a/src/egs_prs.erl +++ b/src/egs_prs.erl @@ -25,4 +25,4 @@ init() -> erlang:load_nif("priv/egs_drv", 0). compress(_SrcBin) -> - exit(nif_library_not_loaded). + erlang:nif_error(not_loaded).