Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 03:38:51 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 03:38:51 +0300
commitfa07680091d20f9da1f8fa2c145dd92b5d62ae09 (patch)
tree12930c47ad7f06dc86fc82279a575a6338c4aa7b /procps/ps.c
parent9d4533ede123cf05eb66a00997ede9c64e579b4d (diff)
top: improve CPU% calculation
style fixes
Diffstat (limited to 'procps/ps.c')
-rw-r--r--procps/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c
index 92608b114..9d6e42d79 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;