diff options
author | Denis Vlasenko | 2006-11-05 00:38:51 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-05 00:38:51 +0000 |
commit | fa07680091d20f9da1f8fa2c145dd92b5d62ae09 (patch) | |
tree | 12930c47ad7f06dc86fc82279a575a6338c4aa7b /procps/ps.c | |
parent | 9d4533ede123cf05eb66a00997ede9c64e579b4d (diff) | |
download | busybox-fa07680091d20f9da1f8fa2c145dd92b5d62ae09.zip busybox-fa07680091d20f9da1f8fa2c145dd92b5d62ae09.tar.gz |
top: improve CPU% calculation
style fixes
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c index 92608b1..9d6e42d 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -64,7 +64,7 @@ int ps_main(int argc, char **argv) if (sid) { /* I assume sid initialized with NULL */ - len = strlen(sid)+1; + len = strlen(sid) + 1; safe_strncpy(sbuf, sid, len); freecon(sid); sid = NULL; |