summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-04 14:59:01 +0200
committerDenys Vlasenko2010-05-04 14:59:01 +0200
commitfe360480aa30adf776a06dc9f09c704abcfa9000 (patch)
treef718e799897aeb7a599861e1bbb5d16461064d02
parent78abf88dcc5d39ef3a36477300ed00a730ce6daa (diff)
downloadbusybox-fe360480aa30adf776a06dc9f09c704abcfa9000.zip
busybox-fe360480aa30adf776a06dc9f09c704abcfa9000.tar.gz
fix typo in commented-out code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c
index b82c126..c3b2008 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);