summaryrefslogtreecommitdiff
path: root/print_cmd.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2022-08-26 11:08:51 -0400
committerChet Ramey <chet.ramey@case.edu>2022-08-26 11:08:51 -0400
commitb3afafd86d27d61601cf380e1065d9170862fd10 (patch)
treeabaef1c96fadb1cbdab381dbe945b1373dbde51f /print_cmd.c
parentf36c8c8ecd155104931198d898733bdb961bc27f (diff)
downloadbash-5.2-rc3.tar.gz
Bash-5.2-rc3 releasebash-5.2-rc3
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;
}