diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-05-20 05:40:11 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-05-20 05:40:11 +0000 |
commit | 72c3dad29b9465d8a7aeab21cda507dac2173bf9 (patch) | |
tree | f214d21cc4b8c3e845d4d585a3e495e3e0febb82 | |
parent | 2be2340fa611218ba8705e854853f31db4721818 (diff) |
Avoid double scsi_done(xs) in error path; ok dlg@ krw@
-rw-r--r-- | sys/dev/ic/cac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/cac.c b/sys/dev/ic/cac.c index 98db3eab6a3..ba0e9e4c4a0 100644 --- a/sys/dev/ic/cac.c +++ b/sys/dev/ic/cac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac.c,v 1.44 2011/04/21 23:10:08 krw Exp $ */ +/* $OpenBSD: cac.c,v 1.45 2011/05/20 05:40:10 otto Exp $ */ /* $NetBSD: cac.c,v 1.15 2000/11/08 19:20:35 ad Exp $ */ /* @@ -723,7 +723,6 @@ cac_scsi_cmd(xs) printf("%s: out of bounds %u-%u >= %u\n", sc->sc_dv.dv_xname, blockno, blockcnt, size); xs->error = XS_DRIVER_STUFFUP; - scsi_done(xs); break; } |