aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src/format_lib_supp.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-10-23 13:55:18 +0200
committerSiri Hansen <[email protected]>2017-10-23 13:55:18 +0200
commit38dcead7d9736d0c5495e36ad04a1ff14607e1c3 (patch)
tree2bbcb04943f28580221222588d4df948acbd252e /lib/sasl/src/format_lib_supp.erl
parentdb67b2c3d1198b2093cb9add3aa55c59bb368ab5 (diff)
parent541ee20b9eaefed7802f08cecddfbd12e5f3b516 (diff)
downloadotp-38dcead7d9736d0c5495e36ad04a1ff14607e1c3.tar.gz
otp-38dcead7d9736d0c5495e36ad04a1ff14607e1c3.tar.bz2
otp-38dcead7d9736d0c5495e36ad04a1ff14607e1c3.zip
Merge branch 'maint'
Diffstat (limited to 'lib/sasl/src/format_lib_supp.erl')
-rw-r--r--lib/sasl/src/format_lib_supp.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sasl/src/format_lib_supp.erl b/lib/sasl/src/format_lib_supp.erl
index cfe2ec7668..2d37dfe117 100644
--- a/lib/sasl/src/format_lib_supp.erl
+++ b/lib/sasl/src/format_lib_supp.erl
@@ -86,8 +86,10 @@ print_data(Device, Line, [{Key, Value}|T]) ->
print_data(Device, Line, [Value|T]) ->
Modifier = misc_supp:modifier(Device),
io:format(Device, "~"++Modifier++"p~n", [Value]),
- print_data(Device, Line, T).
-
+ print_data(Device, Line, T);
+print_data(Device, _Line, Value) ->
+ Modifier = misc_supp:modifier(Device),
+ io:format(Device, "~"++Modifier++"p~n", [Value]).
print_items(Device, Line, {Name, Items}) ->
print_items(Device, Line, Name, Items).