]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Oops. Typo.
authorJeremy Allison <jra@samba.org>
Wed, 1 Aug 2001 17:43:57 +0000 (17:43 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 1 Aug 2001 17:43:57 +0000 (17:43 +0000)
Jeremy.

source/lib/pidfile.c

index 9de672010a40f1620f55831a2ec3eb7b5c78be23..a26aa12a3c1bb18f41558af0798a5e45977367f4 100644 (file)
@@ -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;
        }