Fix a typo in comment.
Reviewed by: mux (mentor)
This commit is contained in:
parent
1e079a9113
commit
e4bac6b864
@ -256,7 +256,7 @@ do_write(char *tty, char *mytty, uid_t myuid)
|
||||
time_t now;
|
||||
char path[MAXPATHLEN], host[MAXHOSTNAMELEN], line[512];
|
||||
|
||||
/* Determine our login name before the we reopen() stdout */
|
||||
/* Determine our login name before we reopen() stdout */
|
||||
if ((login = getlogin()) == NULL) {
|
||||
if ((pwd = getpwuid(myuid)))
|
||||
login = pwd->pw_name;
|
||||
|
Loading…
Reference in New Issue
Block a user