diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2010-09-16 22:38:27 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2010-09-16 22:38:27 +0000 |
| commit | e5bc6d56e80f3b8d9e9d4e9834a34ac0cf4afb4d (patch) | |
| tree | 19ad32a00ac15cb04c7e53acb8219cd0da755bec /usr.bin/ruptime | |
| parent | 9b91846ce46883d5478ab381c71245e12498a931 (diff) | |
Notes
Diffstat (limited to 'usr.bin/ruptime')
| -rw-r--r-- | usr.bin/ruptime/ruptime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c index 1e3356f6f86c..58e598ced078 100644 --- a/usr.bin/ruptime/ruptime.c +++ b/usr.bin/ruptime/ruptime.c @@ -244,12 +244,12 @@ ruptime(const char *host, int aflg, int (*cmp)(const void *, const void *)) for (i = 0; i < (int)nhosts; i++) { hsp = &hs[i]; if (ISDOWN(hsp)) { - (void)printf("%-12.12s%s\n", hsp->hs_wd->wd_hostname, + (void)printf("%-25.25s%s\n", hsp->hs_wd->wd_hostname, interval(now - hsp->hs_wd->wd_recvtime, "down")); continue; } (void)printf( - "%-12.12s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n", + "%-25.25s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n", hsp->hs_wd->wd_hostname, interval((time_t)hsp->hs_wd->wd_sendtime - (time_t)hsp->hs_wd->wd_boottime, " up"), |
