From bb84a07a88222a21afddbf16c31d9d8b15fdda7c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Mar 2001 20:23:01 +0000 Subject: Add a sneaky backwards compat hack from Michael Shmulevich --- include/utmp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/utmp.h') 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 */ -- cgit v1.2.3