diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-08 00:58:06 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-08 00:58:06 +0000 |
commit | e66cec09647233fc84fdc6732df00f64b37854e0 (patch) | |
tree | 79bee75fa376513cd3ad8858427cca04e5fd4b72 /sys/scsi/scsiconf.h | |
parent | 0ebef2a75f003b90e78555a88e174bbd2793bbe6 (diff) |
activate hooks should return a value.
all from deraadt@
tested by me with hotplugged disks on mpi(4)
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 5d5e074dfef..89bfa4d426d 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.136 2010/08/25 00:31:35 dlg Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.137 2010/09/08 00:58:05 dlg Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -575,7 +575,7 @@ int scsi_detach_lun(struct scsibus_softc *, int, int, int); int scsi_req_probe(struct scsibus_softc *, int, int); int scsi_req_detach(struct scsibus_softc *, int, int, int); -void scsi_activate(struct scsibus_softc *, int, int, int); +int scsi_activate(struct scsibus_softc *, int, int, int); struct scsi_link * scsi_get_link(struct scsibus_softc *, int, int); void scsi_add_link(struct scsibus_softc *, |