aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1997-03-31 09:36:59 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1997-03-31 09:36:59 +0000
commit26dce0e6e8c8ddba5a781f83231d41870e33c346 (patch)
tree90c58327470814c2a53520a2959884747cc36cc5 /usr.bin/ruptime
parent529016f9e78bc204e5b52f507b7e023c41a09888 (diff)
Notes
Diffstat (limited to 'usr.bin/ruptime')
-rw-r--r--usr.bin/ruptime/ruptime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c
index 0acf722e8b20..e075d920c5b9 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: ruptime.c,v 1.9 1997/02/22 19:56:50 peter Exp $ */
+/* $Id: ruptime.c,v 1.10 1997/03/29 04:32:02 imp Exp $ */
#ifndef lint
static char copyright[] =
@@ -211,10 +211,10 @@ interval(tval, updown)
hours %= 24;
if (days)
(void)snprintf(resbuf, sizeof(resbuf),
- "%s %2d+%02d:%02d", updown, days, hours, minutes);
+ "%s %3d+%02d:%02d", updown, days, hours, minutes);
else
(void)snprintf(resbuf, sizeof(resbuf),
- "%s %2d:%02d", updown, hours, minutes);
+ "%s %2d:%02d", updown, hours, minutes);
return (resbuf);
}