From 520705cee8415546be6a97fee21bfa036e54c096 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 24 Feb 2010 09:30:40 +0000 Subject: 2010-02-24 Chris Johns * libmisc/shell/main_msdosfmt.c, libmisc/shell/shellconfig.h: Fix the alias as I did understand how it worked. * libfs/src/dosfs/msdos_format.c: Test for a block device. --- cpukit/libmisc/shell/shellconfig.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/libmisc/shell/shellconfig.h') diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index 35b08f934a..65428ea164 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -52,6 +52,7 @@ extern rtems_shell_cmd_t rtems_shell_CHMOD_Command; extern rtems_shell_cmd_t rtems_shell_CAT_Command; extern rtems_shell_cmd_t rtems_shell_MKRFS_Command; extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command; +extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Alias; extern rtems_shell_cmd_t rtems_shell_MV_Command; extern rtems_shell_cmd_t rtems_shell_RM_Command; extern rtems_shell_cmd_t rtems_shell_LN_Command; @@ -303,6 +304,7 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[]; !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \ defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT) &rtems_shell_MSDOSFMT_Command, + &rtems_shell_MSDOSFMT_Alias, #endif #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \ -- cgit v1.2.3