diff options
Diffstat (limited to 'apps/nshlib/nsh_command.c')
-rw-r--r-- | apps/nshlib/nsh_command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_command.c b/apps/nshlib/nsh_command.c index ef141b80a..3950b3379 100644 --- a/apps/nshlib/nsh_command.c +++ b/apps/nshlib/nsh_command.c @@ -292,7 +292,7 @@ static const struct cmdmap_s g_cmdmap[] = #if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_READABLE) # ifndef CONFIG_NSH_DISABLE_MOUNT -# ifdef CONFIG_NUTTX_KERNEL +#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL) { "mount", cmd_mount, 5, 5, "-t <fstype> [<block-device>] <mount-point>" }, # else { "mount", cmd_mount, 1, 5, "[-t <fstype> [<block-device>] <mount-point>]" }, |