Date: Wed, 24 Aug 2016 15:13:42 +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: r304751 - head/sbin/camcontrol Message-ID: <201608241513.u7OFDg8e083542@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Wed Aug 24 15:13:42 2016 New Revision: 304751 URL: https://svnweb.freebsd.org/changeset/base/304751 Log: Fix minor copy/paste bug. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontrol/camcontrol.c ============================================================================== --- head/sbin/camcontrol/camcontrol.c Wed Aug 24 13:00:50 2016 (r304750) +++ head/sbin/camcontrol/camcontrol.c Wed Aug 24 15:13:42 2016 (r304751) @@ -7515,7 +7515,7 @@ smpphycontrol(struct cam_device *device, response = malloc(sizeof(*response)); if (response == NULL) { warn("%s: unable to allocate %zd bytes", __func__, - sizeof(*request)); + sizeof(*response)); retval = 1; goto bailout; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608241513.u7OFDg8e083542>