From fe360480aa30adf776a06dc9f09c704abcfa9000 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 4 May 2010 14:59:01 +0200 Subject: [PATCH] fix typo in commented-out code Signed-off-by: Denys Vlasenko --- procps/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1