aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}
}