FreeBSD Bugzilla – Attachment 85269 Details for
Bug 121418
[patch] ruptime(1) does not show correct information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 655 bytes, created by
Atsuo Ohki
on 2008-03-06 06:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Atsuo Ohki
Created:
2008-03-06 06:00:01 UTC
Size:
655 bytes
patch
obsolete
>--- ruptime.c-ORIG 2008-03-06 14:57:39.000000000 +0900 >+++ ruptime.c 2008-03-06 14:58:07.000000000 +0900 >@@ -191,6 +191,7 @@ > rewinddir(dirp); > hsp = NULL; > maxloadav = -1; >+ (void)time(&now); > for (nhosts = hspace = 0; (dp = readdir(dirp)) != NULL;) { > if (dp->d_ino == 0 || strncmp(dp->d_name, "whod.", 5) != 0) > continue; >@@ -239,7 +240,6 @@ > warnx("host %s not in %s", host, _PATH_RWHODIR); > } > >- (void)time(&now); > qsort(hs, nhosts, sizeof(hs[0]), cmp); > for (i = 0; i < (int)nhosts; i++) { > hsp = &hs[i];
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 121418
: 85269