]> Devi Nivas Git - cs3210-lab1.git/commit
Change fetchint, fetcharg, and putint to return -1 on error, 0 on success.
authorrsc <rsc>
Sat, 15 Jul 2006 17:13:56 +0000 (17:13 +0000)
committerrsc <rsc>
Sat, 15 Jul 2006 17:13:56 +0000 (17:13 +0000)
commit7f419a0d29e0f785dce21b784c4849ae66c790ca
tree80b21f909d1b918d78bb95fa7d40fbbe56e4b122
parent46bbd72f3eeaff9386b2a90af88f3d46b458a0e8
Change fetchint, fetcharg, and putint to return -1 on error, 0 on success.
They had been returning 0 on error, 1 on success, but all the callers
were checking for return value < 0.
syscall.c