From 6377527147c7469f1feced3a556f88a376458178 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 24 Aug 2016 15:13:42 +0000 Subject: [PATCH] Fix minor copy/paste bug. Submitted by: Dmitry Luhtionov MFC after: 1 week --- sbin/camcontrol/camcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 1b50b864cecd..2c3778dce65a 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; }