diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-07-22 22:16:54 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-07-22 22:16:54 +0000 |
| commit | fdb7c7dc11dc33adc9431ee0f58e21b51de11de3 (patch) | |
| tree | 382a1714e66d3b0d94a767bd2c64f9bd22e89dce /usr.bin/ruptime | |
| parent | f2fdb2d7319078701ecbf762dd1993b099d0d3c3 (diff) | |
Notes
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 dc0a4d1ee901..0b83a5e6bae6 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); } |
