summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/scsi_ioctl.c')
-rw-r--r--sys/scsi/scsi_ioctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index c1b576d..0e50b49 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -20,6 +20,7 @@
#include <scsi/scsiconf.h>
#include <sys/scsiio.h>
+void scsierr(struct buf *, int); /* XXX ??? */
/*
* We let the user interpret his own sense in the generic scsi world.
@@ -317,9 +318,10 @@ errval scsi_do_ioctl(struct scsi_link *sc_link, int cmd, caddr_t addr, int f)
return ret;
}
+void
scsierr(bp,err)
-struct buf *bp;
-int err;
+ struct buf *bp;
+ int err;
{
bp->b_flags |= B_ERROR;
bp->b_error = err;
OpenPOWER on IntegriCloud