From 2ada69ab1a02565cc1a870ae4553dc1e36e19792 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Mon, 29 Mar 1999 17:59:46 +0000 Subject: Changed expected status lseek to look for not failure (-1). --- c/src/tests/psxtests/filesupp/test_cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- cgit v1.2.3