Fix sleep 99999999
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 27 Sep 2017 18:30:57 +0000 (14:30 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 29 Sep 2017 14:00:03 +0000 (10:00 -0400)
commit424007332ef589e1c8377c107aece6d0b81ccde7
tree2e3c011abd1ba08671b73fd274903d6b2e6f19d0
parent6196e80c854429e4f9a259ac2746dd01ab1778bc
Fix sleep 99999999

Due to various int-vs-long issues, if you slept for 99999999, you'd
sleep for 275000000 usec (275 sec).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/syscall.c
tests/sleep.c