aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-06-08 14:09:49 +0200
committerHans Bolinder <[email protected]>2018-06-08 14:09:49 +0200
commit7a5ae72a5f46059d8c862a4e5964b4799d1fda4b (patch)
tree8bf54f9f9d449a014daf4bbb046608b045c77e81 /lib/kernel
parentfd5e2d90c63182601bd5a397f601958e449722d2 (diff)
downloadotp-7a5ae72a5f46059d8c862a4e5964b4799d1fda4b.tar.gz
otp-7a5ae72a5f46059d8c862a4e5964b4799d1fda4b.tar.bz2
otp-7a5ae72a5f46059d8c862a4e5964b4799d1fda4b.zip
kernel: Use ~0p
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/application_controller.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/application_controller.erl b/lib/kernel/src/application_controller.erl
index ff5df667b5..6906ad0d6e 100644
--- a/lib/kernel/src/application_controller.erl
+++ b/lib/kernel/src/application_controller.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -2013,5 +2013,5 @@ to_string(Term) ->
true ->
Term;
false ->
- lists:flatten(io_lib:format("~134217728p", [Term]))
+ lists:flatten(io_lib:format("~0p", [Term]))
end.