summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorTrond Norbye <Trond.Norbye@sun.com>2008-10-06 14:24:27 +0200
committerDustin Sallings <dustin@spy.net>2009-01-03 00:09:12 -0800
commit08c14e4e1e9c0f2cba1b45722d0f395887c150d7 (patch)
treea6042fd7f3628fbfbdcbdb1cf42e51cbeca79da0 /daemon.c
parentafe5603f2b8cf7f85b8b3b0acc487b7251e308e0 (diff)
downloadmemcached-08c14e4e1e9c0f2cba1b45722d0f395887c150d7.tar.gz
Always use bundled daemonize function, fixed warnings on MacOSX
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 2896e22..7cf01ad 100644
--- a/daemon.c
+++ b/daemon.c
@@ -40,7 +40,7 @@
#include "memcached.h"
-int daemon(int nochdir, int noclose)
+int daemonize(int nochdir, int noclose)
{
int fd;