summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-05-11 08:44:34 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-05-11 08:44:34 +0000
commit7c1f085bc9c9722d8b4983aa5bc64a049de97d2b (patch)
tree4e347418ca7ba07d0d15e4d573191677edffd4e1 /cpukit
parent2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-7c1f085bc9c9722d8b4983aa5bc64a049de97d2b.tar.bz2
2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libmisc/shell/main_msdosfmt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index ac7a3b3974..901d157f86 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
+ * libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.
+
+2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
PR 1790/cpukit
* libblock/src/flashdisk.c: Fixed memset() parameters.
diff --git a/cpukit/libmisc/shell/main_msdosfmt.c b/cpukit/libmisc/shell/main_msdosfmt.c
index c682e879eb..44c1c49777 100644
--- a/cpukit/libmisc/shell/main_msdosfmt.c
+++ b/cpukit/libmisc/shell/main_msdosfmt.c
@@ -179,7 +179,7 @@ rtems_shell_cmd_t rtems_shell_MSDOSFMT_Alias = {
"msdosfmt", /* name */
NULL, /* usage */
"files", /* topic */
- NULL, /* command */
+ rtems_shell_main_msdos_format, /* command */
&rtems_shell_MSDOSFMT_Command, /* alias */
NULL /* next */
};