Andrew Geissler | 78b7279 | 2022-06-14 06:47:25 -0500 | [diff] [blame] | 1 | From d6e2c2d34d336398f5948a8b731fefff3dc0ff12 Mon Sep 17 00:00:00 2001 |
| 2 | From: Christian Hesse <mail@eworm.de> |
| 3 | Date: Thu, 2 Jun 2022 20:49:46 +0200 |
| 4 | Subject: [PATCH] shared/utmp-wtmp: fix build without utmp |
| 5 | |
| 6 | Commit 16618332388442f2f1c3e52b0a9fde00121564a3 changed a function to |
| 7 | add an extra argument. The data types used when building without utmp |
| 8 | missed the change. |
| 9 | |
| 10 | Upstream-Status: Backport [d6e2c2d34d336398f5948a8b731fefff3dc0ff12] |
| 11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 12 | |
| 13 | --- |
| 14 | src/shared/utmp-wtmp.h | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h |
| 18 | index 36e4203b4f..188d011fdd 100644 |
| 19 | --- a/src/shared/utmp-wtmp.h |
| 20 | +++ b/src/shared/utmp-wtmp.h |
| 21 | @@ -59,7 +59,7 @@ static inline int utmp_wall( |
| 22 | const char *message, |
| 23 | const char *username, |
| 24 | const char *origin_tty, |
| 25 | - bool (*match_tty)(const char *tty, void *userdata), |
| 26 | + bool (*match_tty)(const char *tty, bool is_local, void *userdata), |
| 27 | void *userdata) { |
| 28 | return 0; |
| 29 | } |
| 30 | -- |
| 31 | 2.36.1 |
| 32 | |