X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_stat_ENOENT2.c;h=c8facb26debb924465aea314f17a495a224037d5;hb=b6a3ae56bbcd59fdc1769f69f445a5e43f8297bc;hp=334cc615f1cddce984c96cb1e5c895ee8c742235;hpb=e5daa72b0083831ab762a650860687fe7d25d6b3;p=yaffs2.git diff --git a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOENT2.c b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOENT2.c index 334cc61..c8facb2 100644 --- a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOENT2.c +++ b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOENT2.c @@ -18,8 +18,7 @@ int test_yaffs_stat_ENOENT2(void) int error_code=0; struct yaffs_stat stat; int output=0; - char text[100]; - text[0] ='\0'; + output=yaffs_stat("/non-existing-dir/foo", &stat);; if (output<0){ error_code=yaffs_get_error();