diff options
author | kris <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-12 00:50:15 +0000 |
commit | b2ae75bb55edd98a462e35a9b5372701fd293511 (patch) | |
tree | 6a0265e0cd3d0fd890990506ce1473a64590339a /usr.sbin/vnconfig/vnconfig.c | |
parent | bb4d1e0fb6cf0c74e049d738b113c790a24d5e52 (diff) | |
download | FreeBSD-src-b2ae75bb55edd98a462e35a9b5372701fd293511.zip FreeBSD-src-b2ae75bb55edd98a462e35a9b5372701fd293511.tar.gz |
Don't call warn() without a format string.
Diffstat (limited to 'usr.sbin/vnconfig/vnconfig.c')
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index 7797720..ad7e39e 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -317,7 +317,7 @@ config(vnp) rdev = rawdevice(dev); f = fopen(rdev, "rw"); if (f == NULL) { - warn(dev); + warn("%s", dev); return(1); } vnio.vn_file = file; |