From 79fe4bbf731272ea21f34bd2653673fe1a34e2c4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 17 Dec 2011 17:04:09 +0100 Subject: s3: Fix the clustering build ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104 --- source4/smbd/pidfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd/pidfile.c') 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", -- cgit