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:
78abf88
)
fix typo in commented-out code
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 4 May 2010 12:59:01 +0000
(14:59 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 4 May 2010 12:59:01 +0000
(14:59 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/ps.c
patch
|
blob
|
history
diff --git
a/procps/ps.c
b/procps/ps.c
index b82c126d2f9e3e7d0f70a741334a58d124708131..c3b20086611c47e70a5f4050ed48dedb0bed969a 100644
(file)
--- a/
procps/ps.c
+++ b/
procps/ps.c
@@
-142,7
+142,7
@@
static unsigned get_kernel_HZ(void)
if (kernel_HZ == (unsigned)-1)
kernel_HZ = get_HZ_by_waiting();
- //if (open_read_close("/proc/uptime", buf, sizeof(buf) <= 0)
+ //if (open_read_close("/proc/uptime", buf, sizeof(buf)
)
<= 0)
// bb_perror_msg_and_die("can't read %s", "/proc/uptime");
//buf[sizeof(buf)-1] = '\0';
///sscanf(buf, "%llu", &seconds_since_boot);