diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c index 0299465a997f6829a88ef38504f3934a55378d0a..23cac5c9e94ba06b2edf0b949cf654c83d984af8 100644 --- a/components/dfs/src/dfs.c +++ b/components/dfs/src/dfs.c @@ -548,6 +548,10 @@ int list_fd(void) else rt_kprintf("%-8.8s ", "unknown"); rt_kprintf("%3d ", fd->ref_count); rt_kprintf("%04x ", fd->magic); + if (fd->fs && fd->fs->path && rt_strlen(fd->fs->path) > 1) + { + rt_kprintf("%s", fd->fs->path); + } if (fd->path) { rt_kprintf("%s\n", fd->path);