From b380fe9d236d57d09c54ac9121a3dc1f6da49a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 20 Feb 2011 00:20:23 +0100 Subject: [PATCH] egs_prs: Replace an exit call by the more appropriate erlang:nif_error/1. --- src/egs_prs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).