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;
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"