Attach mem mgmt fault handle if MPU is enabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3471 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-04-06 01:51:07 +00:00
parent 02d07fcafc
commit a2fafbe2cd

View File

@ -89,8 +89,10 @@
int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
FAR char *argv[])
{
int ret = OK;
#ifndef CONFIG_APPS_BINDIR
FAR const char * name;
#endif
int ret = OK;
/* Try to find command within pre-built application list. */
@ -98,9 +100,9 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
if (ret < 0)
{
int err = -errno;
#ifndef CONFIG_APPS_BINDIR
int i;
#ifndef CONFIG_APPS_BINDIR
/* On failure, list the set of available built-in commands */
nsh_output(vtbl, "Builtin Apps: ");