summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--discover/platform-powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c
index b4f2a77..2b3b043 100644
--- a/discover/platform-powerpc.c
+++ b/discover/platform-powerpc.c
@@ -664,7 +664,7 @@ static void update_bootdev_config(struct platform_powerpc *platform,
opt->uuid, delim);
break;
}
- tmp = val = talloc_asprintf_append(val, boot_str);
+ tmp = val = talloc_asprintf_append(val, "%s", boot_str);
}
update_string_config(platform, "petitboot,bootdevs", val);
OpenPOWER on IntegriCloud