diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 22:35:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 22:35:52 +0000 |
commit | df60555613bdd9877851c83febe5b5eaf4820017 (patch) | |
tree | 38c14d4d1e48cd4cad21a91f9613288ebcd66104 /usr.sbin/vnconfig | |
parent | 302102db15ce912c6d0075c4876db8e15efa0520 (diff) |
vnd key is u_char *
Diffstat (limited to 'usr.sbin/vnconfig')
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index 02b9a2624a9..272e394bfaf 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnconfig.c,v 1.15 2004/06/27 22:14:38 jolan Exp $ */ +/* $OpenBSD: vnconfig.c,v 1.16 2004/09/14 22:35:51 deraadt Exp $ */ /* * Copyright (c) 1993 University of Utah. * Copyright (c) 1990, 1993 @@ -168,7 +168,7 @@ config(char *dev, char *file, int action, char *key) goto out; } vndio.vnd_file = file; - vndio.vnd_key = key; + vndio.vnd_key = (u_char *)key; vndio.vnd_keylen = key == NULL ? 0 : strlen(key); /* |