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
1 changed files with 1 additions and 1 deletions
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);
|
||||
if (rrb == NULL) {
|
||||
errno == ENOMEM;
|
||||
errno = ENOMEM;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue