diff options
author | Thierry Strudel <tstrudel@google.com> | 2015-11-20 12:45:09 -0800 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-11-20 14:53:12 -0800 |
commit | 5e20c25f630fcaace1728090a43998f076b2851f (patch) | |
tree | a3759c4522801b851ca3d6e339345d4d2be1a95e | |
parent | aa5a7df9d83c39e41fd07c1281a9912544022448 (diff) | |
download | extras-5e20c25f630fcaace1728090a43998f076b2851f.tar.gz |
procrank: Fix some printf alignements
Bug: 25392275
Change-Id: I8ea4d01310190c34b68d3f3140ea336ad82df665
-rw-r--r-- | procrank/procrank.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procrank/procrank.c b/procrank/procrank.c index 17284672..ab50b64a 100644 --- a/procrank/procrank.c +++ b/procrank/procrank.c @@ -239,7 +239,7 @@ int main(int argc, char *argv[]) { printf("%5s ", "PID"); if (ws) { - printf("%s %7s %7s ", "WRss", "WPss", "WUss"); + printf("%7s %7s %7s ", "WRss", "WPss", "WUss"); if (has_swap) { printf("%7s ", "WSwap"); } @@ -316,7 +316,7 @@ int main(int argc, char *argv[]) { /* Print the total line */ printf("%5s ", ""); if (ws) { - printf("%7s %6" PRIu64 "K %" PRIu64 "K ", + printf("%7s %6" PRIu64 "K %6" PRIu64 "K ", "", total_pss / 1024, total_uss / 1024); } else { printf("%8s %7s %6" PRIu64 "K %6" PRIu64 "K ", |