aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/erst-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/erst-test.c')
-rw-r--r--tests/qtest/erst-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/erst-test.c b/tests/qtest/erst-test.c
index 974e8bc..c45bee7 100644
--- a/tests/qtest/erst-test.c
+++ b/tests/qtest/erst-test.c
@@ -98,7 +98,7 @@ static void setup_vm_cmd(ERSTState *s, const char *cmd)
const char *arch = qtest_get_arch();
if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) {
- s->qs = qtest_pc_boot(cmd);
+ s->qs = qtest_pc_boot("%s", cmd);
} else {
g_printerr("erst-test tests are only available on x86\n");
exit(EXIT_FAILURE);