summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-02-23 15:17:11 +0100
committerAndreas Schwab <schwab@suse.de>2021-03-07 15:42:45 +0100
commit07bca1c578c8243d14eea83c58f939b75329ddf5 (patch)
treeda5003793b84870220005e8739620f04148f97ad
parent655c0af5c26ca1cbf548a051cb06c138f1e1287f (diff)
downloadglibc-07bca1c578c8243d14eea83c58f939b75329ddf5.tar.gz
aarch64: Fix bits/utmp.h for GCC 8
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/utmp.h7
1 files 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 027dceb82c..9958fe5dd6 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
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#ifndef _UTMP_H
# error "Never include <bits/utmp.h> directly; use <utmp.h> 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]