Permalink
Browse files

fixed call to nif_error

  • Loading branch information...
1 parent f2caaaf commit 597fd7ef89bd991262e561fc7022c39b354f5fbc @richcarl richcarl committed with Eric Merritt Jul 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapter_12/nifs/json_parser/src/json_parser.erl
@@ -22,4 +22,4 @@ init() ->
%% @doc Parses a document given as a binary
parse_document(Data) ->
- erlang:error(nif_not_loaded). % help Dialyzer and friends
+ erlang:nif_error(nif_not_loaded). % help Dialyzer and friends

0 comments on commit 597fd7e

Please sign in to comment.