"Alfred M. Szmidt" <address@hidden> writes:
> The proposed patch sometimes generates a result that is off by 1.
> If the boot time is 1.9 seconds after the epoch, and the current
> time is 2.1 seconds after the epoch, it will report an uptime of 1
> second (2.0 - 1.0) instead of the correct 0 seconds (2.1 - 1.9,
> then truncated).
>
> Weird. How did you test that?
I didn't test it (I don't have easy access to GNU/Hurd). It was just
code inspection. Obviously it's a minor point, but you might as well
get it "right".