diff options
Diffstat (limited to 'sysinfo.c')
-rw-r--r-- | sysinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,13 +26,13 @@ if ((fd = open(filename, O_RDONLY)) == -1) { \ fputs(BAD_OPEN_MESSAGE, stderr); \ fflush(NULL); \ - _exit(102); \ + return -102; \ } \ lseek(fd, 0L, SEEK_SET); \ if ((local_n = read(fd, buf, sizeof buf - 1)) < 0) { \ perror(filename); \ fflush(NULL); \ - _exit(103); \ + return -103; \ } \ buf[local_n] = '\0'; \ close(fd); \ |