diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/utmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h index 9fe0e873b..102af2f6c 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -30,6 +30,7 @@ struct utmp char ut_line[UT_LINESIZE]; /* devicename of tty -"/dev/", null-term */ char ut_id[2]; /* abbrev. ttyname, as 01, s1 etc. */ time_t ut_time; /* login time */ +#define ut_name ut_user /* Backwards compatibility hack */ char ut_user[UT_NAMESIZE]; /* username, not null-term */ char ut_host[UT_HOSTSIZE]; /* hostname for remote login... */ long ut_addr; /* IP addr of remote host */ |