diff options
Diffstat (limited to 'usr.bin/ruptime')
-rw-r--r-- | usr.bin/ruptime/ruptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c index dc0a4d1..0b83a5e 100644 --- a/usr.bin/ruptime/ruptime.c +++ b/usr.bin/ruptime/ruptime.c @@ -196,7 +196,7 @@ interval(tval, updown) static char resbuf[32]; int days, hours, minutes; - if (tval < 0 || tval > DAYSPERNYEAR * SECSPERDAY) { + if (tval < 0) { (void)snprintf(resbuf, sizeof(resbuf), " %s ??:??", updown); return (resbuf); } |