diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 22:02:21 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 22:02:21 +0100 |
commit | 74adec7d97f463bfe441996b8997cdea213a087d (patch) | |
tree | cec126907a017c49ce18d7cafb1556b2f40216ff /udevd.c | |
parent | 31819a1e32fbd249264fbe089270d832b4987d39 (diff) |
fix typo in umask()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |