diff options
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r-- | sys/scsi/sd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 4bb4df1d0a7..25e35c00f1c 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.193 2010/06/11 12:02:44 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.194 2010/06/15 04:11:34 dlg Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -957,7 +957,7 @@ sdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) goto exit; case DIOCINQ: - error = scsi_do_ioctl(sc->sc_link, dev, cmd, addr, flag, p); + error = scsi_do_ioctl(sc->sc_link, cmd, addr, flag); if (error == ENOTTY) error = sd_ioctl_inquiry(sc, (struct dk_inquiry *)addr); @@ -965,7 +965,7 @@ sdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) case DIOCGCACHE: case DIOCSCACHE: - error = scsi_do_ioctl(sc->sc_link, dev, cmd, addr, flag, p); + error = scsi_do_ioctl(sc->sc_link, cmd, addr, flag); if (error == ENOTTY) error = sd_ioctl_cache(sc, cmd, (struct dk_cache *)addr); @@ -976,7 +976,7 @@ sdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) error = ENOTTY; goto exit; } - error = scsi_do_ioctl(sc->sc_link, dev, cmd, addr, flag, p); + error = scsi_do_ioctl(sc->sc_link, cmd, addr, flag); } exit: |