aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-06-11 12:38:41 +0200
committerHans Bolinder <[email protected]>2018-06-11 12:38:41 +0200
commitc2d0170c32402a7ddb6657be72f5bf5786fa298b (patch)
treea35b4e25c729b4c19accb1b21594dbb65f48f83b /lib/kernel
parentcf2ad431487cb533aac2854843aa61b8e1e5af62 (diff)
parent7a5ae72a5f46059d8c862a4e5964b4799d1fda4b (diff)
downloadotp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.tar.gz
otp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.tar.bz2
otp-c2d0170c32402a7ddb6657be72f5bf5786fa298b.zip
Merge branch 'hasse/stdlib/pP_with_no_line_breaks/OTP-15103/ERL-607'
* hasse/stdlib/pP_with_no_line_breaks/OTP-15103/ERL-607: kernel: Use ~0p debugger: Use ~0p common_test: Use ~0p stdlib: Make pP insert no line breaks with field width zero
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.