FreeBSD Bugzilla – Attachment 16810 Details for
Bug 30680
uptime and w utilities lie about real uptime
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 403 bytes, created by
vova
on 2001-09-20 12:30:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
vova
Created:
2001-09-20 12:30:03 UTC
Size:
403 bytes
patch
obsolete
>--- src/usr.bin/w.c.orig Thu Sep 20 15:20:01 2001 >+++ src/usr.bin/w.c Thu Sep 20 15:20:11 2001 >@@ -450,7 +450,6 @@ > if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 && > boottime.tv_sec != 0) { > uptime = now - boottime.tv_sec; >- uptime += 30; > days = uptime / 86400; > uptime %= 86400; > hrs = uptime / 3600;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30680
: 16810