summaryrefslogtreecommitdiffhomepage
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-04 14:59:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-04 14:59:01 +0200
commitfe360480aa30adf776a06dc9f09c704abcfa9000 (patch)
treef718e799897aeb7a599861e1bbb5d16461064d02 /procps
parent78abf88dcc5d39ef3a36477300ed00a730ce6daa (diff)
fix typo in commented-out code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c
index b82c126d2..c3b200866 100644
--- 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);