aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mount.c b/lib/mount.c
index 6fc9b69..8ac9787 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -148,8 +148,7 @@ static int receive_fd(int fd)
struct iovec iov;
char buf[1];
int rv;
- int connfd = -1;
- char ccmsg[CMSG_SPACE(sizeof(connfd))];
+ char ccmsg[CMSG_SPACE(sizeof(int))];
struct cmsghdr *cmsg;
iov.iov_base = buf;