summaryrefslogtreecommitdiff
path: root/usr.sbin/vnconfig/vnconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vnconfig/vnconfig.c')
-rw-r--r--usr.sbin/vnconfig/vnconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c
index 34273377c4c..611437caaa0 100644
--- a/usr.sbin/vnconfig/vnconfig.c
+++ b/usr.sbin/vnconfig/vnconfig.c
@@ -121,7 +121,7 @@ config(dev, file, action, key)
err(4, "%s", rdev);
f = fopen(rdev, "rw");
if (f == NULL) {
- warn(rdev);
+ warn("%s", rdev);
rv = -1;
goto out;
}