Fix a typo in comment.
Reviewed by: mux (mentor)
This commit is contained in:
parent
b5a9e27a67
commit
7721881a30
@ -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