aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-01-09 14:56:49 +0100
committerSverker Eriksson <[email protected]>2018-01-09 14:56:49 +0100
commit0dac494aae8f54b5c986c0aa68ca8340fd9235db (patch)
treee086eb43e0bc1340e65cd5e05b1b2b16a63029b3
parent19b7ccfe076d88a96b62f3222f38be31bb087df2 (diff)
downloadotp-0dac494aae8f54b5c986c0aa68ca8340fd9235db.tar.gz
otp-0dac494aae8f54b5c986c0aa68ca8340fd9235db.tar.bz2
otp-0dac494aae8f54b5c986c0aa68ca8340fd9235db.zip
erts: Fix term_to_binary/2 spec
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index f796ea64d3..109d3313c7 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -2452,7 +2452,7 @@ term_to_binary(_Term) ->
Term :: term(),
Options :: [compressed |
{compressed, Level :: 0..9} |
- {minor_version, Version :: 0..1} ].
+ {minor_version, Version :: 0..2} ].
term_to_binary(_Term, _Options) ->
erlang:nif_error(undefined).