Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 2f6a86f94115887a351f080912a941da > files > 1

libraw1394-2.0.8-1.mga2.src.rpm

From 39249705c06f83491c3092ca486dbd76ccd6d7ed Mon Sep 17 00:00:00 2001
From: Guus Sliepen <guus@sliepen.eu.org>
Date: Sun, 19 Feb 2012 19:04:16 +0100
Subject: [PATCH] Fix incorrect use of == instead of =.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
 src/fw.c |    2 +-
 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;
 	}
 
-- 
1.7.6.5