summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 20:23:01 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 20:23:01 +0000
commitbb84a07a88222a21afddbf16c31d9d8b15fdda7c (patch)
tree1e975072cbafebdda542f499b44f2600ad768fb1
parent13a0c712ba41b02bd67a8a891e54fe9e77823595 (diff)
Add a sneaky backwards compat hack from Michael Shmulevich
-rw-r--r--include/utmp.h1
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 */