diff options
author | kris <kris@FreeBSD.org> | 2000-11-19 13:29:43 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-19 13:29:43 +0000 |
commit | 993abb53dc91a812eaf30811f6f23c48d69b230b (patch) | |
tree | 90686c9679d5b719cbb4ce492a33c148a14aa833 /usr.sbin | |
parent | 2ab60731dd83a9ccff2e6c866c3a627e72f4594d (diff) | |
download | FreeBSD-src-993abb53dc91a812eaf30811f6f23c48d69b230b.zip FreeBSD-src-993abb53dc91a812eaf30811f6f23c48d69b230b.tar.gz |
Format string error in warn()
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/acpi/amldb/region.c | 4 |
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)) { |