mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-14 02:02:39 +08:00
Changed expected status lseek to look for not failure (-1).
This commit is contained in:
1 parent
39560f1b0f
commit
2ada69ab1a
1 file changed
+1
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user