diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 14:59:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 14:59:01 +0200 |
commit | fe360480aa30adf776a06dc9f09c704abcfa9000 (patch) | |
tree | f718e799897aeb7a599861e1bbb5d16461064d02 /procps | |
parent | 78abf88dcc5d39ef3a36477300ed00a730ce6daa (diff) | |
download | busybox-w32-fe360480aa30adf776a06dc9f09c704abcfa9000.tar.gz busybox-w32-fe360480aa30adf776a06dc9f09c704abcfa9000.tar.bz2 busybox-w32-fe360480aa30adf776a06dc9f09c704abcfa9000.zip |
fix typo in commented-out code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-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) | |||
142 | if (kernel_HZ == (unsigned)-1) | 142 | if (kernel_HZ == (unsigned)-1) |
143 | kernel_HZ = get_HZ_by_waiting(); | 143 | kernel_HZ = get_HZ_by_waiting(); |
144 | 144 | ||
145 | //if (open_read_close("/proc/uptime", buf, sizeof(buf) <= 0) | 145 | //if (open_read_close("/proc/uptime", buf, sizeof(buf)) <= 0) |
146 | // bb_perror_msg_and_die("can't read %s", "/proc/uptime"); | 146 | // bb_perror_msg_and_die("can't read %s", "/proc/uptime"); |
147 | //buf[sizeof(buf)-1] = '\0'; | 147 | //buf[sizeof(buf)-1] = '\0'; |
148 | ///sscanf(buf, "%llu", &seconds_since_boot); | 148 | ///sscanf(buf, "%llu", &seconds_since_boot); |