From 816e9d67be0780b1fb253ad8d3d3c7443b70fd4c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 18 Jul 2023 13:43:03 -0400 Subject: Fix typo. --- newlib/libc/unix/getlogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib') 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) -- cgit v1.2.3