X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_read_EINVAL.c;h=c5b5455ef9a548338d70907dbf415ae0340c0d2e;hp=27120b21c313a8074ea5a7e594522c7819558887;hb=dd93a8090e78af3a429a55349cb05a4bf6fb2c39;hpb=c7ada078b9d435ea7e7eb4732974135e15006537 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c b/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c index 27120b2..c5b5455 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c @@ -20,8 +20,7 @@ int test_yaffs_read_EINVAL(void) { int error_code = 0; handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE); - printf("newly opend handle = %d handle\n",handle); - char text[2000000]="\0"; + char text[2000000]; int output=0; if (handle<0){ @@ -86,7 +85,6 @@ int test_yaffs_read_EINVAL_clean(void) if(output>=0){ output=yaffs_close(handle); if (output>=0){ - printf("closed the file, handle %d\n",handle); return 1; } else { print_message("could not close the handle\n",2);