summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-05 22:02:21 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-05 22:02:21 +0100
commit74adec7d97f463bfe441996b8997cdea213a087d (patch)
treecec126907a017c49ce18d7cafb1556b2f40216ff
parent31819a1e32fbd249264fbe089270d832b4987d39 (diff)
fix typo in umask()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r--udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevd.c b/udevd.c
index 154c370589..64a6f4d002 100644
--- 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();