Skip to content

Commit 0f31a8d

Browse files
pussuwxiaoxiang781216
authored andcommitted
nsh_fscmds.c: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS
The define macro was wrong
1 parent 0968264 commit 0f31a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nshlib/nsh_fscmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
182182
details[0] = 'f';
183183
}
184184
#endif
185-
#ifdef CONFIG_FS_SHM
185+
#ifdef CONFIG_FS_SHMFS
186186
else if (S_ISSHM(buf.st_mode))
187187
{
188188
details[0] = 'h';

0 commit comments

Comments
 (0)