assert(0) -> abort
This commit is contained in:
parent
eab6385ca5
commit
c5add15bd3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void pageRead(Page *ret) {
|
|||
} else if(read_size == -1) {
|
||||
perror("pageFile.c couldn't read");
|
||||
fflush(NULL);
|
||||
assert(0);
|
||||
abort();
|
||||
} else {
|
||||
printf("pageFile.c readfile: read_size = %d, errno = %d\n", read_size, errno);
|
||||
abort();
|
||||
|
|
Loading…
Reference in a new issue