From 07bca1c578c8243d14eea83c58f939b75329ddf5 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 23 Feb 2020 15:17:11 +0100 Subject: [PATCH] aarch64: Fix bits/utmp.h for GCC 8 --- sysdeps/unix/sysv/linux/aarch64/bits/utmp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h index 027dceb82c6..9958fe5dd69 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h @@ -1,7 +1,7 @@ /* The `struct utmp' type, describing entries in the utmp file. Linux/AArch64 version. - Copyright (C) 2017 Free Software Foundation, Inc. + Copyright (C) 2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,7 +16,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - . */ + . */ #ifndef _UTMP_H # error "Never include directly; use instead." @@ -63,7 +63,8 @@ struct utmp pid_t ut_pid; /* Process ID of login process. */ char ut_line[UT_LINESIZE] __attribute_nonstring__; /* Devicename. */ - char ut_id[4]; /* Inittab ID. */ + char ut_id[4] + __attribute_nonstring__; /* Inittab ID. */ char ut_user[UT_NAMESIZE] __attribute_nonstring__; /* Username. */ char ut_host[UT_HOSTSIZE] -- 2.47.2