git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fb663
)
lib: Fix CID 1273073 Assign instead of compare
author
Volker Lendecke
<vl@samba.org>
Tue, 3 Mar 2015 14:57:02 +0000
(15:57 +0100)
committer
Ralph Böhme
<slow@samba.org>
Tue, 3 Mar 2015 16:34:39 +0000
(17:34 +0100)
This is a brown paper bag thingy, right?
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/close_low_fd.c
patch
|
blob
|
history
diff --git
a/lib/util/close_low_fd.c
b/lib/util/close_low_fd.c
index b11d25f657eefbcad64a17d6c14b3307255bd53f..5e74918711374865a68f4a6f7d75ebf8a23f7494 100644
(file)
--- a/
lib/util/close_low_fd.c
+++ b/
lib/util/close_low_fd.c
@@
-28,7
+28,7
@@
_PUBLIC_ int close_low_fd(int fd)
dev_null = open("/dev/null", O_RDWR, 0);
- if ((dev_null == -1) && (errno = ENFILE)) {
+ if ((dev_null == -1) && (errno =
=
ENFILE)) {
/*
* Try to free up an fd
*/