uptime: more compatible output
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Aug 2011 11:00:04 +0000 (13:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Aug 2011 11:00:04 +0000 (13:00 +0200)
commit5845a06c9ed8c16200942d1fba581db90a451cc6
tree2e5b4279d745d6220eebdbf7d325e5373d53ea69
parent47b03368f34d45a3787e261189d7157b3a63dd29
uptime: more compatible output

was: 12:59:35 up  1:57, 4 users,  load average: 0.11, 0.20, 0.53
is:  12:59:37 up  1:57,  4 users,  load average: 0.11, 0.20, 0.53

While at it, switched code to unsigned division.

Based on patch by Pere Orga <gotrunks@gmail.com>.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/uptime.c