X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_stat_NULL.c;h=d8e558b5f6ef4f895e31a09729c54fadaeda0e84;hp=3fb07cdbfef8bd3338601da28272aa09a607be9a;hb=4ae1d4603da3b68c82e8563191743000fa91d403;hpb=e5daa72b0083831ab762a650860687fe7d25d6b3 diff --git a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_NULL.c b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_NULL.c index 3fb07cd..d8e558b 100644 --- a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_NULL.c +++ b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_NULL.c @@ -18,8 +18,7 @@ int test_yaffs_stat_NULL(void) int error_code=0; struct yaffs_stat stat; int output=0; - char text[100]; - text[0] ='\0'; + output=yaffs_stat(NULL, &stat); if (output<0){ error_code=yaffs_get_error();