diff --git a/nshlib/nsh_mntcmds.c b/nshlib/nsh_mntcmds.c index ec0a24e31..10d341ca9 100644 --- a/nshlib/nsh_mntcmds.c +++ b/nshlib/nsh_mntcmds.c @@ -109,6 +109,12 @@ static const char* get_fstype(FAR struct statfs *statbuf) break; #endif +#ifdef CONFIG_FS_TMPFS + case TMPFS_MAGIC: + fstype = "tmpfs"; + break; +#endif + #ifdef CONFIG_FS_BINFS case BINFS_MAGIC: fstype = "binfs";