mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Only set and report error if not set already.
This commit is contained in:
parent
541cd509d3
commit
92b3fb2908
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ ata_completed(void *context, int dummy)
|
|||
|
||||
/* ATA errors */
|
||||
default:
|
||||
if (request->status & ATA_S_ERROR) {
|
||||
if (!request->result && request->status & ATA_S_ERROR) {
|
||||
if (!(request->flags & ATA_R_QUIET)) {
|
||||
ata_prtdev(request->device,
|
||||
"FAILURE - %s status=%b error=%b",
|
||||
|
|
|
|||
Loading…
Reference in a new issue