From 9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Aug 2012 00:42:46 +0000 Subject: Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nshlib/nsh_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/nshlib/nsh_parse.c') diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index 93171abf7..4c4300cc6 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -167,7 +167,7 @@ static const struct cmdmap_s g_cmdmap[] = # ifndef CONFIG_NSH_DISABLE_DD { "dd", cmd_dd, 3, 6, "if= of= [bs=] [count=] [skip=]" }, # endif -# if defined(CONFIG_SYSLOG) && !defined(CONFIG_NSH_DISABLE_DMESG) +# if defined(CONFIG_SYSLOG) && defined(CONFIG_RAMLOG_SYSLOG) && !defined(CONFIG_NSH_DISABLE_DMESG) { "dmesg", cmd_dmesg, 1, 1, NULL }, # endif #endif -- cgit v1.2.3