summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-17 17:04:09 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-17 18:41:39 +0100
commit79fe4bbf731272ea21f34bd2653673fe1a34e2c4 (patch)
treef373172934f9a487205ac1e6c4b5de9f44628e86 /source4/smbd
parent23a034335cb25a7e1a7a5ba0ba007e23d379623e (diff)
downloadsamba-79fe4bbf731272ea21f34bd2653673fe1a34e2c4.tar.gz
samba-79fe4bbf731272ea21f34bd2653673fe1a34e2c4.tar.bz2
samba-79fe4bbf731272ea21f34bd2653673fe1a34e2c4.zip
s3: Fix the clustering build
ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/pidfile.c b/source4/smbd/pidfile.c
index 85a6322ff7..b7d1c27cd0 100644
--- a/source4/smbd/pidfile.c
+++ b/source4/smbd/pidfile.c
@@ -107,7 +107,7 @@ void pidfile_create(const char *piddir, const char *name)
exit(1);
}
- set_close_on_exec(fd);
+ smb_set_close_on_exec(fd);
if (fcntl_lock(fd,F_SETLK,0,1,F_WRLCK)==false) {
DEBUG(0,("ERROR: %s : fcntl lock of file %s failed. Error was %s\n",