diff options
-rw-r--r-- | c/src/tests/psxtests/filesupp/test_cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/filesupp/test_cat.c b/c/src/tests/psxtests/filesupp/test_cat.c index d8068db350..f6daecfad7 100644 --- a/c/src/tests/psxtests/filesupp/test_cat.c +++ b/c/src/tests/psxtests/filesupp/test_cat.c @@ -49,7 +49,7 @@ void test_cat( for ( ;; ) { status = lseek( fd, offset, SEEK_SET ); - assert( !status ); + assert( status != -1 ); status = read( fd, test_cat_buffer, sizeof(test_cat_buffer) ); if ( status <= 0 ) { |