summaryrefslogtreecommitdiff
path: root/examples/utest/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'examples/utest/testcases')
-rw-r--r--examples/utest/testcases/posix/stdio_h/functions/setbuf_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/utest/testcases/posix/stdio_h/functions/setbuf_tc.c b/examples/utest/testcases/posix/stdio_h/functions/setbuf_tc.c
index 0eb25e9378..69fe5de615 100644
--- a/examples/utest/testcases/posix/stdio_h/functions/setbuf_tc.c
+++ b/examples/utest/testcases/posix/stdio_h/functions/setbuf_tc.c
@@ -23,8 +23,8 @@ static int setbuf_entry(void)
printf("setbuf test:%s\n",test_data);
ret = -1;
}
-__exit:
fclose(stream);
+__exit:
return ret;
}