aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2010-05-21 16:15:53 +0200
committerBjörn Gustavsson <bjorn@erlang.org>2010-05-31 15:00:42 +0200
commitc28c4aa4b8d6d00540d36b860e1dd128cd9447e4 (patch)
tree107ebbd4493f8a6bfe79dce81dccc43bab201b30 /lib/crypto
parent7ff117e24a97ce98ac13671ea140c45a67400b5d (diff)
downloadotp-c28c4aa4b8d6d00540d36b860e1dd128cd9447e4.tar.gz
otp-c28c4aa4b8d6d00540d36b860e1dd128cd9447e4.tar.bz2
otp-c28c4aa4b8d6d00540d36b860e1dd128cd9447e4.zip
crypto: Use erlang:nif_error/1 to squelch false Dialyzer warnings
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/src/crypto.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index 5b1ce96caf..38b7bbc056 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -118,7 +118,7 @@ on_load() ->
nif_stub_error(Line) ->
- erlang:error({nif_not_loaded,module,?MODULE,line,Line}).
+ erlang:nif_error({nif_not_loaded,module,?MODULE,line,Line}).
start() ->
application:start(crypto).