From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2138) id E63EB3857C72; Wed, 5 Aug 2020 19:55:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E63EB3857C72 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Andreas Schwab To: glibc-cvs@sourceware.org Subject: [glibc/schwab/ilp32-2.32] aarch64: Fix bits/utmpx.h for GCC 8 X-Act-Checkin: glibc X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/schwab/ilp32-2.32 X-Git-Oldrev: 066eba85277e90fcc884bb030a13f12b4b444499 X-Git-Newrev: 59112543591a5b080cb1147b71f1aed7610de916 Message-Id: <20200805195506.E63EB3857C72@sourceware.org> Date: Wed, 5 Aug 2020 19:55:06 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 19:55:07 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=59112543591a5b080cb1147b71f1aed7610de916 commit 59112543591a5b080cb1147b71f1aed7610de916 Author: Andreas Schwab Date: Sun Feb 23 20:46:56 2020 +0100 aarch64: Fix bits/utmpx.h for GCC 8 Diff: --- sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h b/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h index bffd45cb3e..4e0d71cf38 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h @@ -58,10 +58,14 @@ struct utmpx { short int ut_type; /* Type of login. */ __pid_t ut_pid; /* Process ID of login process. */ - char ut_line[__UT_LINESIZE]; /* Devicename. */ - char ut_id[4]; /* Inittab ID. */ - char ut_user[__UT_NAMESIZE]; /* Username. */ - char ut_host[__UT_HOSTSIZE]; /* Hostname for remote login. */ + char ut_line[__UT_LINESIZE] + __attribute_nonstring__; /* Devicename. */ + char ut_id[4] + __attribute_nonstring__; /* Inittab ID. */ + char ut_user[__UT_NAMESIZE] + __attribute_nonstring__; /* Username. */ + char ut_host[__UT_HOSTSIZE] + __attribute_nonstring__; /* Hostname for remote login. */ struct __exit_status ut_exit; /* Exit status of a process marked as DEAD_PROCESS. */