Add one more error message to r352082.

MFC after:	5 days
Sponsored by:	iXsystems, Inc.
This commit is contained in:
Alexander Motin 2019-09-09 19:00:37 +00:00
parent 606478ebb2
commit 2090029769
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352103

View File

@ -1975,7 +1975,8 @@ atahpa_proc_resp(struct cam_device *device, union ccb *ccb, u_int64_t *hpasize)
if (error & ATA_ERROR_ID_NOT_FOUND) {
warnx("Max address has already been set since "
"last power-on or hardware reset");
}
} else if (hpasize == NULL)
warnx("Command failed with ATA error");
return (1);
}