diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-04-23 07:39:21 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-04-23 07:39:21 +0000 |
| commit | 8fe25bc123dae35183a3526fbefeaccac87f2529 (patch) | |
| tree | db150153586c4aac0c4619bbce071617d8528ef6 | |
| parent | 94624c55727466a37b9a57feaab6e1d8e4266143 (diff) | |
Notes
| -rw-r--r-- | sys/scsi/worm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c index df83572c1421..3df3ccebbe3f 100644 --- a/sys/scsi/worm.c +++ b/sys/scsi/worm.c @@ -37,7 +37,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: worm.c,v 1.1 1995/03/04 20:51:10 dufault Exp $ + * $Id: worm.c,v 1.2 1995/03/15 14:22:12 dufault Exp $ */ /* XXX This is PRELIMINARY. @@ -54,6 +54,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> +#include <sys/proc.h> #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> #include <scsi/scsi_disk.h> @@ -198,7 +199,7 @@ wormstart(unit) /* if a special awaits, let it proceed first */ if (sc_link->flags & SDEV_WAITING) { sc_link->flags &= ~SDEV_WAITING; - wakeup((caddr_t)sc_link); + wakeup(sc_link); return; } if ((bp = worm->buf_queue) == NULL) { |
