summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/filesupp/test_extend.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/filesupp/test_extend.c')
-rw-r--r--c/src/tests/psxtests/filesupp/test_extend.c2
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 ) {