Fix a typo in comment.
Reviewed by: mux (mentor)
This commit is contained in:
parent
1e079a9113
commit
e4bac6b864
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139718
@ -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