summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-08-31 09:49:26 +0000
committermav <mav@FreeBSD.org>2016-08-31 09:49:26 +0000
commit2747f0b55bcb0c07f48112af79913df4b5f9cd6a (patch)
tree8881f41556e891d0b9edb34695d466acbc8af49b /sbin/camcontrol
parent7916ee905173ac8f1e5c93575080e2377c86afeb (diff)
downloadFreeBSD-src-2747f0b55bcb0c07f48112af79913df4b5f9cd6a.zip
FreeBSD-src-2747f0b55bcb0c07f48112af79913df4b5f9cd6a.tar.gz
MFC r304751: Fix minor copy/paste bug.
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r--sbin/camcontrol/camcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 1b50b86..2c3778d 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -7515,7 +7515,7 @@ smpphycontrol(struct cam_device *device, int argc, char **argv,
response = malloc(sizeof(*response));
if (response == NULL) {
warn("%s: unable to allocate %zd bytes", __func__,
- sizeof(*request));
+ sizeof(*response));
retval = 1;
goto bailout;
}
OpenPOWER on IntegriCloud