From 29d6b96d690ea282b7a7f1c5c1a157fcc09ed07b Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 15 Jul 1998 09:59:31 +0000 Subject: The ioctl request arg is unsigned long, so don't attempt to pass it around as signed int. --- sys/dev/fdc/fdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index c26370bf8594..9cebca51a8f2 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -44,7 +44,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.116 1998/07/11 06:35:37 bde Exp $ + * $Id: fd.c,v 1.117 1998/07/13 08:22:59 julian Exp $ * */ @@ -217,7 +217,7 @@ int ftopen(dev_t, int); int ftintr(ftu_t ftu); int ftclose(dev_t, int); void ftstrategy(struct buf *); -int ftioctl(dev_t, int, caddr_t, int, struct proc *); +int ftioctl(dev_t, unsigned long, caddr_t, int, struct proc *); int ftdump(dev_t); int ftsize(dev_t); int ftattach(struct isa_device *, struct isa_device *, int); -- cgit v1.3