]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: Fix bits/utmpx.h for GCC 8
authorAndreas Schwab <schwab@suse.de>
Sun, 23 Feb 2020 19:46:56 +0000 (20:46 +0100)
committerAndreas Schwab <schwab@suse.de>
Sun, 7 Mar 2021 14:42:45 +0000 (15:42 +0100)
sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h

index bffd45cb3e5389da3bdba328be09be8e0041e943..4e0d71cf38039c0698cb84c7821f07b31e3990c1 100644 (file)
@@ -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.  */