From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2134) id A633138582AC; Tue, 18 Jul 2023 17:43:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A633138582AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689702220; bh=3EAyB1OjEjlgM3bl1hmLkCmv8Ps9Acb6iqyUgqOwEMc=; h=From:To:Subject:Date:From; b=q3om+Afbmvbw7M0aSMatFPaacIncvAuat0LcsAcwCPZdWHhOdO2jHjQ8vcrAX5tHk GsrwfW1Sp9Ik7pe4TchdUGTG3MaecEDjlLm/coZiePoafWfXNWA06Pgvsr174X5K6F 8MbRFCsap/ahUWbMDcmtJwXgcz+/Hi4X6zV4UjYA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix typo. X-Act-Checkin: newlib-cygwin X-Git-Author: Jeff Johnston X-Git-Refname: refs/heads/master X-Git-Oldrev: 938475f6de03942146c1c5220a60bd5a7a4b4ab4 X-Git-Newrev: 816e9d67be0780b1fb253ad8d3d3c7443b70fd4c Message-Id: <20230718174340.A633138582AC@sourceware.org> Date: Tue, 18 Jul 2023 17:43:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D816e9d67be0= 780b1fb253ad8d3d3c7443b70fd4c commit 816e9d67be0780b1fb253ad8d3d3c7443b70fd4c Author: Jeff Johnston Date: Tue Jul 18 13:43:03 2023 -0400 Fix typo. Diff: --- newlib/libc/unix/getlogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; =20 - if (((tty =3D ttyname (0)) =3D=3D 0) + if ((tty =3D ttyname (0)) =3D=3D 0) return 0; =20 if ((utmp_fd =3D open (UTMP_FILE, O_RDONLY)) =3D=3D -1)