diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2006-11-27 23:14:23 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2006-11-27 23:14:23 +0000 |
commit | b1092bf6005b06c853ce6fe96d3d6318f70ada9d (patch) | |
tree | b2e9675a379bcb08f67fb64a863942be98a401a4 /sys/scsi/ch.c | |
parent | 420bea282f7c1f60b89813020956f00a09c2667b (diff) |
more magic removal
ok miod@, deraadt@
Diffstat (limited to 'sys/scsi/ch.c')
-rw-r--r-- | sys/scsi/ch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index c5960f3d2e5..f8c8e4cdd9d 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ch.c,v 1.30 2006/11/27 18:24:43 beck Exp $ */ +/* $OpenBSD: ch.c,v 1.31 2006/11/27 23:14:22 beck Exp $ */ /* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */ /* @@ -769,7 +769,7 @@ ch_interpret_sense(xs) u_int8_t skey = sense->flags & SSD_KEY; if (((sc_link->flags & SDEV_OPEN) == 0) || - (serr != 0x70 && serr != 0x71)) + (serr != SSD_ERRCODE_CURRENT && serr != SSD_ERRCODE_DEFERRED)) return (EJUSTRETURN); /* let the generic code handle it */ switch (skey) { |