diff options
author | bde <bde@FreeBSD.org> | 1998-07-15 09:59:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-15 09:59:31 +0000 |
commit | 0d627f2ae9aa9721a1e35fa957f3c9862ed7dc1a (patch) | |
tree | 5a5e3b1f857b0d2de16b195c663ef258083fd1ad /sys/dev | |
parent | fb75e06c3ea0231c61091600227205454ed98be4 (diff) | |
download | FreeBSD-src-0d627f2ae9aa9721a1e35fa957f3c9862ed7dc1a.zip FreeBSD-src-0d627f2ae9aa9721a1e35fa957f3c9862ed7dc1a.tar.gz |
The ioctl request arg is unsigned long, so don't attempt to pass it
around as signed int.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdc/fdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index c26370b..9cebca5 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); |