diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 16:59:01 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 16:59:01 +0400 |
commit | fe360480aa30adf776a06dc9f09c704abcfa9000 (patch) | |
tree | f718e799897aeb7a599861e1bbb5d16461064d02 /procps/ps.c | |
parent | 78abf88dcc5d39ef3a36477300ed00a730ce6daa (diff) |
fix typo in commented-out code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 2 |
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); |