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
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/unix/getlogin.c')
-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)