fix bug with read return value

This commit is contained in:
Kelvin Sherlock 2013-02-25 17:34:40 -05:00
parent 9e6176001a
commit 82d760ebf1

View File

@ -487,6 +487,7 @@ namespace OS
ssize_t count = ::read(ioRefNum, memoryPointer(ioBuffer), ioReqCount);
if (count >= 0)
{
d0 = 0;
pos += count;
memoryWriteLong(count, parm + 40);
}