diff options
author | obrien <obrien@FreeBSD.org> | 2000-05-14 21:05:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-05-14 21:05:21 +0000 |
commit | 7ead15a56fcd175fba39e9126349049ab28033d8 (patch) | |
tree | ad52780a0fc671cfa48395a211cd79c1280ce78a | |
parent | 3726bbb199e100b7e2e620775f3a8dcd32f32c99 (diff) | |
download | FreeBSD-src-7ead15a56fcd175fba39e9126349049ab28033d8.zip FreeBSD-src-7ead15a56fcd175fba39e9126349049ab28033d8.tar.gz |
Improve diagnostic message when device vnconfig'ing does not exist.
PR: bin/6997
Submitted-by:
-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 c9f6e5e..7797720 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("open"); + warn(dev); return(1); } vnio.vn_file = file; |