summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/acpi/amldb/region.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/acpi/amldb/region.c b/usr.sbin/acpi/amldb/region.c
index 4763862..280a0aa 100644
--- a/usr.sbin/acpi/amldb/region.c
+++ b/usr.sbin/acpi/amldb/region.c
@@ -170,7 +170,7 @@ aml_simulation_regload(const char *dumpfile)
return;
}
if ((fp = fopen(dumpfile, "r")) == NULL) {
- warn(dumpfile);
+ warn("%s", dumpfile);
return;
}
while (fgets(buf, sizeof buf, fp) != NULL) {
@@ -494,7 +494,7 @@ aml_simulation_regdump(const char *dumpfile)
return;
}
if ((fp = fopen(dumpfile, "w")) == NULL) {
- warn(dumpfile);
+ warn("%s", dumpfile);
return;
}
while (!TAILQ_EMPTY(&RegionContentList)) {
OpenPOWER on IntegriCloud