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 <dmitryluhtio...@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; } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"