diff options
author | Jeremy Allison <jra@samba.org> | 1998-12-06 22:09:16 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-12-06 22:09:16 +0000 |
commit | a80d4e1bf2a2f3167e71836468a3a7c98c06bdc6 (patch) | |
tree | b23718cf137225588ccc0a237f34c98b0dc3efe6 | |
parent | ee5e10e963917c0352362ec306fe7e3588996876 (diff) | |
download | samba-a80d4e1bf2a2f3167e71836468a3a7c98c06bdc6.tar.gz |
Ooops. sys_open() always takes 3 args. open() can take 2....
Jeremy.
-rw-r--r-- | source/lib/pidfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/pidfile.c b/source/lib/pidfile.c index d60982133e7..e1d58c25456 100644 --- a/source/lib/pidfile.c +++ b/source/lib/pidfile.c @@ -39,7 +39,7 @@ pid_t pidfile_pid(char *name) slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_lockdir(), name); - fd = sys_open(pidFile, O_NONBLOCK | O_RDWR); + fd = sys_open(pidFile, O_NONBLOCK | O_RDWR, 0644); if (fd == -1) { return 0; } |