From c9ba355a695132ef31b81072ce72f98a837c9995 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 7 Sep 2015 18:27:57 +0200 Subject: m todo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mds.c b/src/mds.c index 2a7e415..84747b3 100644 --- a/src/mds.c +++ b/src/mds.c @@ -191,7 +191,7 @@ int main(int argc_, char** argv_) fail_if ((fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0); fail_if (fchmod(fd, S_IRWXU) < 0); fail_if (bind(fd, (struct sockaddr*)(&address), sizeof(address)) < 0); - fail_if (chown(pathname, getuid(), NOBODY_GROUP_GID) < 0); + fail_if (chown(pathname, getuid(), NOBODY_GROUP_GID) < 0); /* XXX Isn't fchmod one line earlier better? */ /* Start listening on socket. */ fail_if (listen(fd, SOMAXCONN) < 0); -- cgit v1.2.3-70-g09d2