From 3592432e9bd0cf5b5173cbc9321bb1e15f33b181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 16 Mar 2021 11:08:43 +0100 Subject: [PATCH] utmpx.h: add ut_host for compatibility (not posix) Change-Id: I27e8f7b6dbc29232542e3749d8e194efa2ef5209 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3799 Reviewed-by: Adrien Destugues --- headers/posix/utmpx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/posix/utmpx.h b/headers/posix/utmpx.h index 82ac8c06e3..a9192d7e60 100644 --- a/headers/posix/utmpx.h +++ b/headers/posix/utmpx.h @@ -17,7 +17,8 @@ struct utmpx { pid_t ut_pid; /* process ID */ char ut_user[32]; /* user login name */ char ut_line[16]; /* device name */ - char __ut_reserved[192]; + char ut_host[128]; /* remote hostname */ + char __ut_reserved[64]; };