svn commit: r352103 - head/sbin/camcontrol
Alexander Motin
mav at FreeBSD.org
Mon Sep 9 19:00:37 UTC 2019
Author: mav
Date: Mon Sep 9 19:00:37 2019
New Revision: 352103
URL: https://svnweb.freebsd.org/changeset/base/352103
Log:
Add one more error message to r352082.
MFC after: 5 days
Sponsored by: iXsystems, Inc.
Modified:
head/sbin/camcontrol/camcontrol.c
Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c Mon Sep 9 18:57:17 2019 (r352102)
+++ head/sbin/camcontrol/camcontrol.c Mon Sep 9 19:00:37 2019 (r352103)
@@ -1975,7 +1975,8 @@ atahpa_proc_resp(struct cam_device *device, union ccb
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);
}
More information about the svn-src-head
mailing list