aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ulockmgr.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2007-01-19 22:11:40 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2007-01-19 22:11:40 +0000
commit6e7d018049193efe9d092bb91c4416a332f28278 (patch)
tree1682fdb3dc3d9ca6012e3e4813b6203401ec6d0c /lib/ulockmgr.c
parent7dcdf1bf5b4c9fe36bf6fdf98149154a3216f059 (diff)
downloadlibfuse-6e7d018049193efe9d092bb91c4416a332f28278.tar.gz
merge up to fuse_2_6_merge1
Diffstat (limited to 'lib/ulockmgr.c')
-rw-r--r--lib/ulockmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ulockmgr.c b/lib/ulockmgr.c
index 9e9c2b6..bf27b36 100644
--- a/lib/ulockmgr.c
+++ b/lib/ulockmgr.c
@@ -75,7 +75,7 @@ static int ulockmgr_send_message(int sock, void *buf, size_t buflen,
struct msghdr msg;
struct cmsghdr *p_cmsg;
struct iovec vec;
- char cmsgbuf[CMSG_SPACE(sizeof(int) * MAX_SEND_FDS)];
+ size_t cmsgbuf[CMSG_SPACE(sizeof(int) * MAX_SEND_FDS) / sizeof(size_t)];
int res;
assert(numfds <= MAX_SEND_FDS);