summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-01 17:43:57 +0000
committerJeremy Allison <jra@samba.org>2001-08-01 17:43:57 +0000
commit861cb26f5d26790171b6a71d35fe2da7a50b386e (patch)
tree55b6aaf94e5a891891047623106ff240fbf44440 /source3/lib
parent61bb3093e32e9e1e58cec079ea101b5b11c5fee0 (diff)
downloadsamba-861cb26f5d26790171b6a71d35fe2da7a50b386e.tar.gz
samba-861cb26f5d26790171b6a71d35fe2da7a50b386e.tar.bz2
samba-861cb26f5d26790171b6a71d35fe2da7a50b386e.zip
Oops. Typo.
Jeremy. (This used to be commit d862be4b680fc495d920fa802854032e668a2073)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c
index 9de672010a..a26aa12a3c 100644
--- a/source3/lib/pidfile.c
+++ b/source3/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;
}