summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/filesupp/test_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/filesupp/test_write.c')
-rw-r--r--c/src/tests/psxtests/filesupp/test_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/filesupp/test_write.c b/c/src/tests/psxtests/filesupp/test_write.c
index d6acd00f85..c025734532 100644
--- a/c/src/tests/psxtests/filesupp/test_write.c
+++ b/c/src/tests/psxtests/filesupp/test_write.c
@@ -40,7 +40,7 @@ void test_write(
}
status = lseek( fd, offset, SEEK_SET );
- assert( !status );
+ assert( status != -1 );
status = write( fd, buffer, length );
if ( status == -1 ) {