summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_msdosfmt.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-02-24 09:30:40 +0000
committerChris Johns <chrisj@rtems.org>2010-02-24 09:30:40 +0000
commit520705cee8415546be6a97fee21bfa036e54c096 (patch)
tree2773305c3f56563fd12a359d3f884e6f462cbeb1 /cpukit/libmisc/shell/main_msdosfmt.c
parentThis commit was generated by cvs2svn to compensate for changes in r22675, (diff)
downloadrtems-520705cee8415546be6a97fee21bfa036e54c096.tar.bz2
2010-02-24 Chris Johns <chrisj@rtems.org>
* 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.
Diffstat (limited to 'cpukit/libmisc/shell/main_msdosfmt.c')
-rw-r--r--cpukit/libmisc/shell/main_msdosfmt.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_msdosfmt.c b/cpukit/libmisc/shell/main_msdosfmt.c
index fc54966da7..f38a58ee5f 100644
--- a/cpukit/libmisc/shell/main_msdosfmt.c
+++ b/cpukit/libmisc/shell/main_msdosfmt.c
@@ -170,6 +170,15 @@ rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command = {
"mkdos " OPTIONS " path # format disk", /* usage */
"files", /* topic */
rtems_shell_main_msdos_format, /* command */
- "msdosfmt", /* alias */
+ NULL, /* alias */
+ NULL /* next */
+};
+
+rtems_shell_cmd_t rtems_shell_MSDOSFMT_Alias = {
+ "msdosfmt", /* name */
+ NULL, /* usage */
+ "files", /* topic */
+ NULL, /* command */
+ &rtems_shell_MSDOSFMT_Command, /* alias */
NULL /* next */
};