diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 2001-10-17 01:44:34 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 2001-10-17 01:44:34 +0000 |
| commit | 2856a77139a76205cd66217939530c786622e23c (patch) | |
| tree | ba81e709d7ba538136fe4787efc9a82264c135ed | |
| parent | 2210e5d9fa5266a80c6ba106eeff306c7328b4a8 (diff) | |
Notes
| -rw-r--r-- | usr.bin/rup/rup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/rup/rup.c b/usr.bin/rup/rup.c index a93c6a235dab..b660b8176c60 100644 --- a/usr.bin/rup/rup.c +++ b/usr.bin/rup/rup.c @@ -133,6 +133,8 @@ rstat_reply(caddr_t replyp, struct sockaddr_in *raddrp) else if (host_uptime.tm_min != 0) sprintf(hours_buf, "%2d mins, ", host_uptime.tm_min); + else if (host_stat->curtime.tv_sec < 60) + sprintf(hours_buf, "%2d secs, ", host_uptime.tm_sec); else hours_buf[0] = '\0'; |
