From ecbb00a2629050fd720dc376a33c45f4ad767cea Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 7 Jun 1998 17:13:14 +0000 Subject: This commit fixes various 64bit portability problems required for FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. --- sys/dev/vn/vn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/vn') diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 516a9f8a25d75..57ba1cad3edaf 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -38,7 +38,7 @@ * from: Utah Hdr: vn.c 1.13 94/04/02 * * from: @(#)vn.c 8.6 (Berkeley) 4/1/94 - * $Id: vn.c,v 1.58 1998/04/24 07:53:59 julian Exp $ + * $Id: vn.c,v 1.59 1998/05/06 22:14:38 julian Exp $ */ /* @@ -605,7 +605,7 @@ vniodone( struct buf *bp) { /* ARGSUSED */ static int -vnioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) +vnioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) { struct vn_softc *vn = vn_softc[vnunit(dev)]; struct vn_ioctl *vio; -- cgit v1.3