s3: Fix the clustering build
[mat/samba.git] / source4 / smbd / pidfile.c
index 85a6322ff70123b0bca1c77cc7e95f81d0640013..b7d1c27cd0f0a99fcff0bf0925f42903c970e15e 100644 (file)
@@ -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",