diff options
Diffstat (limited to 'c/src/tests/psxtests/filesupp/test_extend.c')
-rw-r--r-- | c/src/tests/psxtests/filesupp/test_extend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/filesupp/test_extend.c b/c/src/tests/psxtests/filesupp/test_extend.c index 8bd8fca913..ae284aab46 100644 --- a/c/src/tests/psxtests/filesupp/test_extend.c +++ b/c/src/tests/psxtests/filesupp/test_extend.c @@ -41,7 +41,7 @@ void test_extend( } status = lseek( fd, offset - 1, SEEK_SET ); - assert( !status ); + assert( status != -1 ); status = write( fd, &c, 1 ); if ( status == -1 ) { |