Fix minor copy/paste bug.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
This commit is contained in:
parent
aa9872243a
commit
6377527147
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304751
@ -7515,7 +7515,7 @@ smpphycontrol(struct cam_device *device, int argc, char **argv,
|
|||||||
response = malloc(sizeof(*response));
|
response = malloc(sizeof(*response));
|
||||||
if (response == NULL) {
|
if (response == NULL) {
|
||||||
warn("%s: unable to allocate %zd bytes", __func__,
|
warn("%s: unable to allocate %zd bytes", __func__,
|
||||||
sizeof(*request));
|
sizeof(*response));
|
||||||
retval = 1;
|
retval = 1;
|
||||||
goto bailout;
|
goto bailout;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user