summaryrefslogtreecommitdiff
path: root/print_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'print_cmd.c')
-rw-r--r--print_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_cmd.c b/print_cmd.c
index 6e84d0ce..eef9bb6a 100644
--- a/print_cmd.c
+++ b/print_cmd.c
@@ -304,7 +304,7 @@ make_command_string_internal (command)
if (deferred_heredocs == 0)
{
if (was_heredoc == 0)
- cprintf (s); /* inside_function_def? */
+ cprintf ("%s", s); /* inside_function_def? */
else
was_heredoc = 0;
}