svn commit: r305118 - stable/10/sbin/camcontrol
Alexander Motin
mav at FreeBSD.org
Wed Aug 31 09:50:03 UTC 2016
Author: mav
Date: Wed Aug 31 09:50:02 2016
New Revision: 305118
URL: https://svnweb.freebsd.org/changeset/base/305118
Log:
MFC r304751: Fix minor copy/paste bug.
Modified:
stable/10/sbin/camcontrol/camcontrol.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/10/sbin/camcontrol/camcontrol.c Wed Aug 31 09:49:26 2016 (r305117)
+++ stable/10/sbin/camcontrol/camcontrol.c Wed Aug 31 09:50:02 2016 (r305118)
@@ -7352,7 +7352,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-all
mailing list