aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd-show-prompt-history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-show-prompt-history.c b/cmd-show-prompt-history.c
index 5711755e..2091ac9d 100644
--- a/cmd-show-prompt-history.c
+++ b/cmd-show-prompt-history.c
@@ -87,7 +87,7 @@ cmd_show_prompt_history_exec(struct cmd *self, struct cmdq_item *item)
cmdq_print(item, "%d: %s", hidx + 1,
status_prompt_hlist[tidx][hidx]);
}
- cmdq_print(item, "");
+ cmdq_print(item, "%s", "");
}
} else {
type = status_prompt_type(typestr);
@@ -101,7 +101,7 @@ cmd_show_prompt_history_exec(struct cmd *self, struct cmdq_item *item)
cmdq_print(item, "%d: %s", hidx + 1,
status_prompt_hlist[type][hidx]);
}
- cmdq_print(item, "");
+ cmdq_print(item, "%s", "");
}
return (CMD_RETURN_NORMAL);