chiark / gitweb /
fix typo in umask()
authorKay Sievers <kay.sievers@suse.de>
Sat, 5 Nov 2005 21:02:21 +0000 (22:02 +0100)
committerKay Sievers <kay.sievers@suse.de>
Sat, 5 Nov 2005 21:02:21 +0000 (22:02 +0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c

diff --git a/udevd.c b/udevd.c
index 154c370..64a6f4d 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -904,7 +904,7 @@ int main(int argc, char *argv[], char *envp[])
        setpriority(PRIO_PROCESS, 0, UDEVD_PRIORITY);
 
        chdir("/");
-       umask(077);
+       umask(022);
 
        /* become session leader */
        sid = setsid();