summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJolan Luff <jolan@cvs.openbsd.org>2004-06-27 22:14:39 +0000
committerJolan Luff <jolan@cvs.openbsd.org>2004-06-27 22:14:39 +0000
commit4ed74d2a967226f7c02fa641eac9c0c06cba7667 (patch)
tree74e8ca347e5b9130b99cb24672b8a224ba6ef54d /usr.sbin
parent657d88b6caf548c4b7780467ac8591cfba5ae95d (diff)
cast to quell a warning, ok pedro@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/vnconfig/vnconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c
index 0c3818228d8..02b9a2624a9 100644
--- a/usr.sbin/vnconfig/vnconfig.c
+++ b/usr.sbin/vnconfig/vnconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnconfig.c,v 1.14 2004/06/20 19:16:37 pedro Exp $ */
+/* $OpenBSD: vnconfig.c,v 1.15 2004/06/27 22:14:38 jolan Exp $ */
/*
* Copyright (c) 1993 University of Utah.
* Copyright (c) 1990, 1993
@@ -121,7 +121,7 @@ getinfo(const char *vname)
print_all = 1;
}
- vd = opendev(vname, O_RDONLY, OPENDEV_PART, NULL);
+ vd = opendev((char *)vname, O_RDONLY, OPENDEV_PART, NULL);
if (vd < 0)
err(1, "open: %s", vname);