diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-07-30 21:39:08 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-07-30 21:39:08 +0400 |
commit | b737b1a68bf8ab002bb314375ff33c651ee9cdaa (patch) | |
tree | 66a23af54b43ab5a8723c6fb732345fc283e5d4f /loginutils/login.c | |
parent | aad29b37a7345207c94e8ef9f0bac943d43dbe12 (diff) |
Umm. Not guilty by reason of insanity.
-Erik
Diffstat (limited to 'loginutils/login.c')
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 93d81d314..f5e950f58 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -479,7 +479,7 @@ static void setutmp(const char *name, const char *line) pututline(&utent); endutent(); if (access(_PATH_WTMP, R_OK|W_OK) == -1) { - creat(_PATH_WTMP, O_RDWR); + creat(_PATH_WTMP, 0664); } updwtmp(_PATH_WTMP, &utent); } |