aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-10-08 14:28:25 +0200
committerHans Bolinder <[email protected]>2012-10-08 14:28:25 +0200
commit9e8223d82e5e9c973a052182d8c1ca6cb7b9a587 (patch)
tree4e444a6ab223c6898d63cc2fab06c0aefa6ee924 /lib/kernel/src
parentaead007ef22abb50d8cfbd0a58eb9f41fbb2f363 (diff)
downloadotp-9e8223d82e5e9c973a052182d8c1ca6cb7b9a587.tar.gz
otp-9e8223d82e5e9c973a052182d8c1ca6cb7b9a587.tar.bz2
otp-9e8223d82e5e9c973a052182d8c1ca6cb7b9a587.zip
Fix the contract of erl_ddll:format_error/1
The bug in the contract of erl_ddll:format_error_int/1 in R15B that was copied to R16B (OTP-9862) has been fixed.
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/erl_ddll.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/kernel/src/erl_ddll.erl b/lib/kernel/src/erl_ddll.erl
index f967fcc2ef..e03d280cd8 100644
--- a/lib/kernel/src/erl_ddll.erl
+++ b/lib/kernel/src/erl_ddll.erl
@@ -54,9 +54,7 @@ info(_, _) ->
erlang:nif_error(undef).
-spec format_error_int(ErrSpec) -> string() when
- ErrSpec :: inconsisten | linked_in_driver | permanent
- | not_loaded | not_loaded_by_this_process | not_pending
- | already_loaded | unloading.
+ ErrSpec :: term().
format_error_int(_) ->
erlang:nif_error(undef).