summaryrefslogtreecommitdiffstats
path: root/source/lib/pidfile.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-01 17:44:10 +0000
committerJeremy Allison <jra@samba.org>2001-08-01 17:44:10 +0000
commit80e835c6be4a6eada661cbce2e4e31ccd30fffc1 (patch)
treeeca3fd87982f341c5259905e84f556abe1739ae5 /source/lib/pidfile.c
parentd2b9483a83a9e6287b961abeb2b4563cef7e0d1f (diff)
downloadsamba-80e835c6be4a6eada661cbce2e4e31ccd30fffc1.tar.gz
samba-80e835c6be4a6eada661cbce2e4e31ccd30fffc1.tar.xz
samba-80e835c6be4a6eada661cbce2e4e31ccd30fffc1.zip
Oops. Typo.
Jeremy.
Diffstat (limited to 'source/lib/pidfile.c')
-rw-r--r--source/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/pidfile.c b/source/lib/pidfile.c
index 9de672010a4..a26aa12a3c1 100644
--- a/source/lib/pidfile.c
+++ b/source/lib/pidfile.c
@@ -41,7 +41,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_RONLY, 0644);
+ fd = sys_open(pidFile, O_NONBLOCK | O_RDONLY, 0644);
if (fd == -1) {
return 0;
}