From 39249705c06f83491c3092ca486dbd76ccd6d7ed Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 19 Feb 2012 19:04:16 +0100 Subject: [PATCH] Fix incorrect use of == instead of =. Signed-off-by: Stefan Richter --- src/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }