]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/utmp-wtmp: fix build without utmp
authorChristian Hesse <mail@eworm.de>
Thu, 2 Jun 2022 18:49:46 +0000 (20:49 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 2 Jun 2022 20:00:50 +0000 (05:00 +0900)
Commit 16618332388442f2f1c3e52b0a9fde00121564a3 changed a function to
add an extra argument. The data types used when building without utmp
missed the change.

src/shared/utmp-wtmp.h

index 36e4203b4f7dd704a15eec21b15e1cb74f734104..188d011fdd71e24737c12616329579f7c93041d2 100644 (file)
@@ -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;
 }