diff options
author | Eric Andersen | 2004-07-30 17:39:08 +0000 |
---|---|---|
committer | Eric Andersen | 2004-07-30 17:39:08 +0000 |
commit | b737b1a68bf8ab002bb314375ff33c651ee9cdaa (patch) | |
tree | 66a23af54b43ab5a8723c6fb732345fc283e5d4f /loginutils/login.c | |
parent | aad29b37a7345207c94e8ef9f0bac943d43dbe12 (diff) | |
download | busybox-b737b1a68bf8ab002bb314375ff33c651ee9cdaa.zip busybox-b737b1a68bf8ab002bb314375ff33c651ee9cdaa.tar.gz |
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 93d81d3..f5e950f 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); } |