]> git.ipfire.org Git - thirdparty/man-pages.git/commit
memusage.1: EXAMPLES: remove doubled calculations
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Sep 2020 07:49:16 +0000 (09:49 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Sep 2020 07:52:59 +0000 (09:52 +0200)
commit15fc4aab1f22c2d4f62ab7f74bbb844942708633
tree94dc3f76273f0965295a6dbaec2b76e607e1019f
parent8d635e0a7e5cc930b5f9fd41559d6dbb37ecf978
memusage.1: EXAMPLES: remove doubled calculations

The same calculations are repeated in malloc() and printf() calls.
For better readability, do the calculations once.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man1/memusage.1