aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-10-11 09:02:04 +0200
committerHans Bolinder <[email protected]>2012-10-11 09:02:04 +0200
commitb563b92deee51e66407663b2e2e9fc4ffeb1c8a9 (patch)
treec7888a98c7c8b52305677839adb67d5c1c5a02d7 /lib
parentc26e40f33b2d575d00abec66dbd651a8edab0508 (diff)
parent9e8223d82e5e9c973a052182d8c1ca6cb7b9a587 (diff)
downloadotp-b563b92deee51e66407663b2e2e9fc4ffeb1c8a9.tar.gz
otp-b563b92deee51e66407663b2e2e9fc4ffeb1c8a9.tar.bz2
otp-b563b92deee51e66407663b2e2e9fc4ffeb1c8a9.zip
Merge branch 'hb/kernel/spec_fix/OTP-10473'
* hb/kernel/spec_fix/OTP-10473: Fix the contract of erl_ddll:format_error/1
Diffstat (limited to 'lib')
-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).