Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2023-07-18 20:43:03 +0300
committerJeff Johnston <jjohnstn@redhat.com>2023-07-18 20:43:29 +0300
commit816e9d67be0780b1fb253ad8d3d3c7443b70fd4c (patch)
tree324dc493c2ccace2ef96796593f87ed65354198e /newlib
parent938475f6de03942146c1c5220a60bd5a7a4b4ab4 (diff)
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 876ac32cd..e646bcb08 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)