diff --git a/src/fw.c b/src/fw.c index 1131d23..03fae66 100644 --- a/src/fw.c +++ b/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; }