Subject: Re: bin/18132: ruptime formating rules
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 09/01/2002 09:57:14
> ruptime -a output doesn't pretty print when servers have been up for 100+ days:
>
> bjork up 17+21:29, 0 users, load 1.15, 1.12, 1.08
> droog up 100+03:16, 9 users, load 2.20, 1.68, 1.37
>
> Change line 177 of src/usr.bin/ruptime.c from:
> "%-12.12s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n",
> to
> "%-13.12s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n",
That still leaves the bug if a system stays up for 1000 days.....
David
--
David Laight: david@l8s.co.uk