summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_fscmds.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-07 13:42:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-07 13:42:55 +0000
commit33ebc18c23173530e25b9585010e3411530f4940 (patch)
tree3168654f7c9ee4ffb5124dd9f0990369c5e79852 /nuttx/examples/nsh/nsh_fscmds.c
parenta5f7cf98731bec3e33558a7805c37463e0d634ae (diff)
downloadpx4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.gz
px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.bz2
px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.zip
Add NSH xd command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@892 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_fscmds.c')
-rw-r--r--nuttx/examples/nsh/nsh_fscmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh_fscmds.c b/nuttx/examples/nsh/nsh_fscmds.c
index cd02ca576..f6049e67e 100644
--- a/nuttx/examples/nsh/nsh_fscmds.c
+++ b/nuttx/examples/nsh/nsh_fscmds.c
@@ -60,6 +60,7 @@
#include <limits.h>
#include <libgen.h>
#include <errno.h>
+#include <debug.h>
#include "nsh.h"
@@ -851,6 +852,7 @@ int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
fmt = g_fmtcmdoutofmemory;
goto errout_with_fmt;
}
+ dbg("RAMDISK at %p\n", buffer);
/* Then register the ramdisk */