svn commit: r304751 - head/sbin/camcontrol
Alexander Motin
mav at FreeBSD.org
Wed Aug 24 15:13:43 UTC 2016
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 at 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;
}
More information about the svn-src-head
mailing list