summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Guus Sliepen 2012-02-19 19:04:16 +0100
committerGravatar Stefan Richter 2012-02-19 19:57:42 +0100
commit39249705c06f83491c3092ca486dbd76ccd6d7ed (patch)
treea8f6ebad25c99b47b70eee58eb7731000491e4d2 /src
parentRemove UTF-8 whitespace. (diff)
Fix incorrect use of == instead of =.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'src')
-rw-r--r--src/fw.c2
1 files changed, 1 insertions, 1 deletions
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;
}