projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b140edd
)
libbb: fix wrong sscanf count check (affects pidof etc)
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Apr 2008 23:20:25 +0000
(23:20 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Apr 2008 23:20:25 +0000
(23:20 -0000)
libbb/procps.c
patch
|
blob
|
history
diff --git
a/libbb/procps.c
b/libbb/procps.c
index f67f7dcdeba1f03f491b0dddfbbdfd67cfb046e5..8946917a21d68f3eff8c471e5dcabfe22e7c6897 100644
(file)
--- a/
libbb/procps.c
+++ b/
libbb/procps.c
@@
-258,7
+258,7
@@
procps_status_t *procps_scan(procps_status_t* sp, int flags)
&sp->start_time,
&vsz,
&rss);
- if (n != 1
0
)
+ if (n != 1
1
)
break;
/* vsz is in bytes and we want kb */
sp->vsz = vsz >> 10;