diff options
author | Andreas Schwab <schwab@suse.de> | 2020-02-23 20:46:56 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2021-03-07 15:42:45 +0100 |
commit | 6162538850f01c682ade44cd32f4384632fc265e (patch) | |
tree | 64b1c190b1c6ae307353d03cce14e2ad9d61f5dc | |
parent | 07bca1c578c8243d14eea83c58f939b75329ddf5 (diff) | |
download | glibc-6162538850f01c682ade44cd32f4384632fc265e.tar glibc-6162538850f01c682ade44cd32f4384632fc265e.tar.gz glibc-6162538850f01c682ade44cd32f4384632fc265e.tar.bz2 glibc-6162538850f01c682ade44cd32f4384632fc265e.zip |
aarch64: Fix bits/utmpx.h for GCC 8
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h | 12 |
1 files 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. */ |