summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/truncate.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truncate.erl b/src/truncate.erl
index b959d21e78..820af1bf86 100644
--- a/src/truncate.erl
+++ b/src/truncate.erl
@@ -112,7 +112,7 @@ term_size([H|T], M, W) ->
M2 -> lim(term_size(T, M2, W), 2 * W)
end;
term_size(X, M, W) ->
- lim(M, erts_debug:flat_size(X) * W);
+ lim(M, erts_debug:flat_size(X) * W).
lim(S, T) when is_number(S) andalso S > T -> S - T;
lim(_, _) -> limit_exceeded.