Fix incorrect use of == instead of =.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
e31d8bed56
commit
39249705c0
2
src/fw.c
2
src/fw.c
|
@ -851,7 +851,7 @@ handle_arm_request(raw1394handle_t handle, struct address_closure *ac,
|
||||||
|
|
||||||
rrb = malloc(sizeof *rrb + in_length + response.length);
|
rrb = malloc(sizeof *rrb + in_length + response.length);
|
||||||
if (rrb == NULL) {
|
if (rrb == NULL) {
|
||||||
errno == ENOMEM;
|
errno = ENOMEM;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue