aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2023-07-18 13:43:03 -0400
committerJeff Johnston <jjohnstn@redhat.com>2023-07-18 13:43:29 -0400
commit816e9d67be0780b1fb253ad8d3d3c7443b70fd4c (patch)
tree324dc493c2ccace2ef96796593f87ed65354198e /newlib
parent938475f6de03942146c1c5220a60bd5a7a4b4ab4 (diff)
downloadnewlib-816e9d67be0780b1fb253ad8d3d3c7443b70fd4c.zip
newlib-816e9d67be0780b1fb253ad8d3d3c7443b70fd4c.tar.gz
newlib-816e9d67be0780b1fb253ad8d3d3c7443b70fd4c.tar.bz2
Fix typo.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/unix/getlogin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/unix/getlogin.c b/newlib/libc/unix/getlogin.c
index 876ac32..e646bcb 100644
--- a/newlib/libc/unix/getlogin.c
+++ b/newlib/libc/unix/getlogin.c
@@ -16,7 +16,7 @@ getlogin ()
extern char *ttyname ();
char *tty;
- if (((tty = ttyname (0)) == 0)
+ if ((tty = ttyname (0)) == 0)
return 0;
if ((utmp_fd = open (UTMP_FILE, O_RDONLY)) == -1)