Date: Mon, 9 Sep 2019 19:00:37 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r352103 - head/sbin/camcontrol Message-ID: <201909091900.x89J0bTh033205@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909091900.x89J0bTh033205>