aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/sendfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/sendfd.c')
-rw-r--r--src/lib9/sendfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/sendfd.c b/src/lib9/sendfd.c
index e2abb759..e73225e2 100644
--- a/src/lib9/sendfd.c
+++ b/src/lib9/sendfd.c
@@ -31,7 +31,7 @@ sendfd(int s, int fd)
struct cmsghdr *cmsg;
int n;
char cms[CMSG_SPACE(sizeof(int))];
-
+
buf[0] = 0;
iov.iov_base = buf;
iov.iov_len = 1;