aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuus Sliepen <guus@sliepen.eu.org>2012-02-19 19:04:16 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2012-02-19 19:57:42 +0100
commit39249705c06f83491c3092ca486dbd76ccd6d7ed (patch)
treea8f6ebad25c99b47b70eee58eb7731000491e4d2
parente31d8bed566127bab2fbd6cfcc1e8317f2371b4b (diff)
downloadlibraw1394-39249705c06f83491c3092ca486dbd76ccd6d7ed.tar.gz
Fix incorrect use of == instead of =.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-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;
}