aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-24 16:41:01 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-24 16:41:01 +0200
commitb149a1ab3a78063d5574f50fd409f3fb0a94c7ca (patch)
tree6a4581dc4faa8a8cef6d488c0e9b52c3ab28a834 /src
parentmds-clipboard: m + style (diff)
downloadmds-b149a1ab3a78063d5574f50fd409f3fb0a94c7ca.tar.gz
mds-b149a1ab3a78063d5574f50fd409f3fb0a94c7ca.tar.bz2
mds-b149a1ab3a78063d5574f50fd409f3fb0a94c7ca.tar.xz
mds: style
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds.c2
1 files changed, 1 insertions, 1 deletions
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;