Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 09:50:02 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r305118 - stable/10/sbin/camcontrol
Message-ID:  <201608310950.u7V9o2e2049325@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608310950.u7V9o2e2049325>