diff --git a/examples/fatfs_through_vfs/fatfs_through_vfs_sample.c b/examples/fatfs_through_vfs/fatfs_through_vfs_sample.c index c01b484d..f454be31 100644 --- a/examples/fatfs_through_vfs/fatfs_through_vfs_sample.c +++ b/examples/fatfs_through_vfs/fatfs_through_vfs_sample.c @@ -43,7 +43,7 @@ void application_entry(void *arg) fd = tos_vfs_open("/fs/fatfs_sd/test_file.txt", VFS_OFLAG_EXISTING | VFS_OFLAG_READ); if (fd < 0) { - printf("open file error: %d\n", ret); + printf("open file error!\n"); } memset(buf, 0, sizeof(buf));