aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav HÃ¥llberg <gustav@gmail.com>2008-12-31 18:43:21 (GMT)
committerGustav HÃ¥llberg <gustav@gmail.com>2009-01-16 23:37:02 (GMT)
commit1731f9c61d131911ea17da75bedfb9d5f723d6a9 (patch)
treec1cff8f8aec51b2a3e4b3b8b5b0c7e4517f51561
parentfcf724beb3c18df073c4ac38f745e541929b754a (diff)
downloadpowwow-1731f9c61d131911ea17da75bedfb9d5f723d6a9.zip
powwow-1731f9c61d131911ea17da75bedfb9d5f723d6a9.tar.gz
powwow-1731f9c61d131911ea17da75bedfb9d5f723d6a9.tar.bz2
bugfixed error message for '#action <some-unknown-action>'
-rw-r--r--cmd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.c b/cmd2.c
index 1b9b1be..83b3111 100644
--- a/cmd2.c
+++ b/cmd2.c
@@ -642,7 +642,7 @@ void parse_action __P2 (char *,str, int,onprompt)
BUFSIZE - (int)strlen((*np)->pattern) - 10,
(*np)->command);
} else {
- PRINTF("#no action, cannot show pattern: \"%s\"\n", pattern);
+ PRINTF("#no action, cannot show pattern: \"%s\"\n", str);
}
}
}