diff options
Diffstat (limited to 'source/tests/ftruncate.c')
-rw-r--r-- | source/tests/ftruncate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tests/ftruncate.c b/source/tests/ftruncate.c index 700d5c8ce54..93282782eed 100644 --- a/source/tests/ftruncate.c +++ b/source/tests/ftruncate.c @@ -21,7 +21,7 @@ main() unlink(DATA); if (lseek(fd, 0, SEEK_END) == LEN) { - return 0; + exit(0); } - return 1; + exit(1); } |