X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_lseek.c;h=588635ebb485e92b81ed91e77f5fe8779660ee1e;hp=5e063eff5c2b5c883f7d6613e7f855098481c2cb;hb=f2d4dfa2c923765689724dc8e9328017e895beb3;hpb=250248634f57704c06d3ae5050febb33ad5c67d8 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_lseek.c b/direct/timothy_tests/quick_tests/test_yaffs_lseek.c index 5e063ef..588635e 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_lseek.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_lseek.c @@ -18,7 +18,7 @@ int test_yaffs_lseek(void){ handle=test_yaffs_open(); char text[20]="\0"; int output=0; - if (handle>0){ + if (handle>=0){ if (0==yaffs_lseek(handle, 0, SEEK_SET)){ return 1; }