aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-12 02:10:27 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-12 02:10:34 +0200
commitee4be84d907bc2201d3ba2f722a657382ceba47d (patch)
treec043eb52af998d195c465ab384e61163a576b8b4 /src/mds-server
parentm (diff)
downloadmds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.gz
mds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.bz2
mds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.xz
m + fix errors in mds.c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server')
-rw-r--r--src/mds-server/mds-server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c
index 5a6fd99..9879579 100644
--- a/src/mds-server/mds-server.c
+++ b/src/mds-server/mds-server.c
@@ -150,6 +150,10 @@ int main(int argc_, char** argv_)
int i;
pthread_t _slave_thread;
+#if (LIBEXEC_ARGC_EXTRA_LIMIT < 3)
+# error LIBEXEC_ARGC_EXTRA_LIMIT is too small, need at least 3.
+#endif
+
argc = argc_;
argv = argv_;