CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/09/08 06:36:42

Modified files:
        sys/scsi       : scsi_all.h scsi_base.c 

Log message:
If SCSI_IGNORE_ILLEGAL_REQUEST is set no error is returned from scsi_xs_sync()
when the request is unsupported.

So check mode sense(6) and mode sense(10) results for valid headers before
passing the results back.

Avoid overwriting any error that was returned.

ok jmatthew@

Reply via email to