small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1261 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
2
C/save.c
2
C/save.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user