]> granicus.if.org Git - procps-ng/commit
w: eliminate inappropriate cmdline padding with spaces
authorJim Warner <james.warner@comcast.net>
Sun, 6 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 7 Sep 2015 08:11:48 +0000 (18:11 +1000)
commit14359a0afe66cf4641c95b40c0d83c0fef9a892f
treead73582a85e385e715b57b3fe33ddb9b78451344
parent5e46a145bafe457abfa8b4f261d6c9a8c41a3c14
w: eliminate inappropriate cmdline padding with spaces

This commit is an outgrowth of the research into a bug
involving the recently added enum 'PROCPS_PIDS_extra'.

The WHAT portion of output is being padded with spaces
since the printf field width format specifier was used
in combination with a precision specifier. This commit
reduces the format string to just that precision part.

Signed-off-by: Jim Warner <james.warner@comcast.net>
w.c