aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/utmps/utmpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utmps/utmpx.h')
-rw-r--r--src/include/utmps/utmpx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h
index 0af2fac..8fa6dd2 100644
--- a/src/include/utmps/utmpx.h
+++ b/src/include/utmps/utmpx.h
@@ -26,18 +26,18 @@ struct utmpx
{
short ut_type ;
pid_t ut_pid ;
- char ut_line[UTMPS_UT_LINESIZE] ;
- char ut_id[UTMPS_UT_IDSIZE] ;
- char ut_user[UTMPS_UT_NAMESIZE] ;
+ char ut_line[UTMPS_UT_LINESIZE] __attribute__((nonstring)) ;
+ char ut_id[UTMPS_UT_IDSIZE] __attribute__((nonstring)) ;
+ char ut_user[UTMPS_UT_NAMESIZE] __attribute__((nonstring)) ;
- char ut_host[UTMPS_UT_HOSTSIZE] ;
+ char ut_host[UTMPS_UT_HOSTSIZE] __attribute__((nonstring)) ;
struct exit_status ut_exit ;
pid_t ut_session ;
struct timeval ut_tv ;
uint32_t ut_addr_v6[4] ;
- char _dummy[20] ;
+ char _dummy[20] __attribute__((nonstring)) ;
} ;
#define EMPTY 0