diff options
| author | Paul Saab <ps@FreeBSD.org> | 2004-04-19 17:16:06 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2004-04-19 17:16:06 +0000 |
| commit | 3c6b83532671542cd3dca53269de78db6c9f7da0 (patch) | |
| tree | 97b45b346bd7e86dd9b229069d3469e705b16581 /sys/dev/ciss | |
| parent | 9ceef761e9fe36f188ed752199da136f41461249 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ciss')
| -rw-r--r-- | sys/dev/ciss/ciss.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index d472ab83608d..74b195f74dc6 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2115,10 +2115,8 @@ ciss_user_command(struct ciss_softc *sc, IOCTL_Command_struct *ioc) * Check to see if the command succeeded. */ ce = (struct ciss_error_info *)&(cc->sg[0]); - if (ciss_report_request(cr, NULL, NULL) == 0) + if ((cc->header.host_tag & CISS_HDR_HOST_TAG_ERROR) == 0) bzero(ce, sizeof(*ce)); - else - error = EIO; /* * Copy the results back to the user. |
