Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242963 Details for
Bug 332753
app-misc/uptimed-0.3.16-r4 has an error in up/downtime percentage reporting [PATCH]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this display problem
percent_up_fix.patch (text/plain), 398 bytes, created by
Thomas
on 2010-08-14 16:15:20 UTC
(
hide
)
Description:
Patch to fix this display problem
Filename:
MIME Type:
Creator:
Thomas
Created:
2010-08-14 16:15:20 UTC
Size:
398 bytes
patch
obsolete
>--- src/uprecords.c 2009-01-02 00:46:00.000000000 +0100 >+++ src/uprecords.c 2010-08-14 17:58:37.000000000 +0200 >@@ -236,6 +236,9 @@ > totalutime += u->utime; > } > >+ /* Prevents the downtime from showing as -x days, and the uptime as >100% */ >+ totaldtime = -totaldtime; >+ > print_entry(totalutime, "since", since, "up", 0, 0); > print_entry(totaldtime, "since", since, "down", 0, 0); >
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 332753
: 242963