aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/command.c')
-rw-r--r--usr.sbin/sysinstall/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/command.c b/usr.sbin/sysinstall/command.c
index 3e3d5c97187d..2242495f6818 100644
--- a/usr.sbin/sysinstall/command.c
+++ b/usr.sbin/sysinstall/command.c
@@ -161,7 +161,7 @@ command_execute(void)
/* If it's a shell command, run system on it */
if (commandStack[i]->cmds[j].type == CMD_SHELL) {
msgNotify("Doing %s", commandStack[i]->cmds[j].ptr);
- ret = vsystem((char *)commandStack[i]->cmds[j].ptr);
+ ret = vsystem("%s", (char *)commandStack[i]->cmds[j].ptr);
if (isDebug())
msgDebug("Command `%s' returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
}