projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fbc6e5
)
libfuse: fix warning mount.c:receive_fd()
author
Miklos Szeredi
<mszeredi@suse.cz>
Wed, 12 Aug 2015 09:51:39 +0000
(11:51 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Wed, 12 Aug 2015 09:53:10 +0000
(11:53 +0200)
Reported by Albert Berger
ChangeLog
patch
|
blob
|
history
lib/mount.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 8a4293bb4711c3d66c9f7b65546165c65cf0eb0c..25d8e0522bce01c257d5551d5186304db9283fc0 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2015-08-12 Miklos Szeredi <miklos@szeredi.hu>
+
+ * libfuse: fix warning mount.c:receive_fd(). Reported by Albert
+ Berger
+
2015-06-29 Miklos Szeredi <miklos@szeredi.hu>
* libfuse: fix possible memory leak. Reported by Jose R. Guzman
diff --git
a/lib/mount.c
b/lib/mount.c
index 56904895897e0463c2bf3c4da599d87954570e1d..ef8ffd439c3b4723431d425058716460dcd898cd 100644
(file)
--- a/
lib/mount.c
+++ b/
lib/mount.c
@@
-278,7
+278,7
@@
static int receive_fd(int fd)
}
cmsg = CMSG_FIRSTHDR(&msg);
- if (
!cmsg->cmsg_type =
= SCM_RIGHTS) {
+ if (
cmsg->cmsg_type !
= SCM_RIGHTS) {
fprintf(stderr, "got control message of unknown type %d\n",
cmsg->cmsg_type);
return -1;