Fix typo.

This commit is contained in:
Jeff Johnston 2023-07-18 13:43:03 -04:00
parent 938475f6de
commit 816e9d67be
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ getlogin ()
extern char *ttyname (); extern char *ttyname ();
char *tty; char *tty;
if (((tty = ttyname (0)) == 0) if ((tty = ttyname (0)) == 0)
return 0; return 0;
if ((utmp_fd = open (UTMP_FILE, O_RDONLY)) == -1) if ((utmp_fd = open (UTMP_FILE, O_RDONLY)) == -1)