mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
fix typo in commented-out code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
78abf88dcc
commit
fe360480aa
@ -142,7 +142,7 @@ static unsigned get_kernel_HZ(void)
|
|||||||
if (kernel_HZ == (unsigned)-1)
|
if (kernel_HZ == (unsigned)-1)
|
||||||
kernel_HZ = get_HZ_by_waiting();
|
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");
|
// bb_perror_msg_and_die("can't read %s", "/proc/uptime");
|
||||||
//buf[sizeof(buf)-1] = '\0';
|
//buf[sizeof(buf)-1] = '\0';
|
||||||
///sscanf(buf, "%llu", &seconds_since_boot);
|
///sscanf(buf, "%llu", &seconds_since_boot);
|
||||||
|
Loading…
Reference in New Issue
Block a user