From b149a1ab3a78063d5574f50fd409f3fb0a94c7ca Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 24 Aug 2015 16:41:01 +0200 Subject: mds: style 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 f184b07..bcec1d9 100644 --- a/src/mds.c +++ b/src/mds.c @@ -323,7 +323,7 @@ int spawn_and_respawn_server(int fd) struct timespec time_start; struct timespec time_end; char* child_args[ARGC_LIMIT + LIBEXEC_ARGC_EXTRA_LIMIT + 1]; - char fdstr[12 /* strlen("--socket-fd=") */ + 64]; + char fdstr[(sizeof("--socket-fd=") / sizeof(char) - 1) + 64]; int i; pid_t pid; int status; -- cgit v1.2.3-70-g09d2