small fixes

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1261 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-03-07 17:49:16 +00:00
parent 8b74eb8b2b
commit b6af3095da
2 changed files with 6 additions and 3 deletions

View File

@@ -185,7 +185,7 @@ myread(int fd, char *buff, Int len)
while (len > 0) {
int nchars = read(fd, buff, len);
if (nchars < 0) {
return do_system_error(PERMISSION_ERROR_INPUT_PAST_END_OF_STREAM, "bad read on saved state", );
return do_system_error(PERMISSION_ERROR_INPUT_PAST_END_OF_STREAM, "bad read on saved state");
}
len -= nchars;
buff += nchars;