summaryrefslogtreecommitdiffstats
path: root/src/shared/utmp-wtmp.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2022-06-02 20:49:46 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-02 22:00:50 +0200
commitd6e2c2d34d336398f5948a8b731fefff3dc0ff12 (patch)
tree0ba24a101eba195e8390aa32e11ac41f56a6cf73 /src/shared/utmp-wtmp.h
parentlogin: fix typo (diff)
downloadsystemd-d6e2c2d34d336398f5948a8b731fefff3dc0ff12.tar.xz
systemd-d6e2c2d34d336398f5948a8b731fefff3dc0ff12.zip
shared/utmp-wtmp: fix build without utmp
Commit 16618332388442f2f1c3e52b0a9fde00121564a3 changed a function to add an extra argument. The data types used when building without utmp missed the change.
Diffstat (limited to '')
-rw-r--r--src/shared/utmp-wtmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h
index 36e4203b4f..188d011fdd 100644
--- a/src/shared/utmp-wtmp.h
+++ b/src/shared/utmp-wtmp.h
@@ -59,7 +59,7 @@ static inline int utmp_wall(
const char *message,
const char *username,
const char *origin_tty,
- bool (*match_tty)(const char *tty, void *userdata),
+ bool (*match_tty)(const char *tty, bool is_local, void *userdata),
void *userdata) {
return 0;
}