mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Fixed bad test in fuse mount
Apply a fix from the full fuse library
This commit is contained in:
parent
366c20e8a2
commit
fc666cb0b9
@ -350,7 +350,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;
|
||||
|
Loading…
Reference in New Issue
Block a user