diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-09-20 06:17:50 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-09-20 06:17:50 +0000 |
commit | 89b7d30bb900859eceeed12811d4f11ce4936fee (patch) | |
tree | 62a8f338dd9cbfcdcdceae9fcdfbbff1ce43e01e /sys/dev/ic/twe.c | |
parent | 9844e20bc88783a482ceaeed5eeebd0daf66d9fc (diff) |
Use SSD_ERRCODE_CURRENT instead of magic 0x70.
ok dlg@ matthew@
Diffstat (limited to 'sys/dev/ic/twe.c')
-rw-r--r-- | sys/dev/ic/twe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c index 2e1751dfaa6..1fb78682019 100644 --- a/sys/dev/ic/twe.c +++ b/sys/dev/ic/twe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: twe.c,v 1.37 2010/06/28 18:31:02 krw Exp $ */ +/* $OpenBSD: twe.c,v 1.38 2010/09/20 06:17:49 krw Exp $ */ /* * Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved. @@ -808,7 +808,7 @@ twe_scsi_cmd(xs) case REQUEST_SENSE: TWE_DPRINTF(TWE_D_CMD, ("REQUEST SENSE tgt %d ", target)); bzero(&sd, sizeof sd); - sd.error_code = 0x70; + sd.error_code = SSD_ERRCODE_CURRENT; sd.segment = 0; sd.flags = SKEY_NO_SENSE; *(u_int32_t*)sd.info = htole32(0); |