summaryrefslogtreecommitdiff
path: root/src/utmp-wtmp.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-12 03:33:08 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-12 03:33:08 +0100
commit7af53310dd9154ba76be7808292d9a046b849e43 (patch)
tree75a49739917317234ac91edf0f7306326fadddf7 /src/utmp-wtmp.h
parent9d3e691e709eb12ce48a3dec6e50537406d12ad2 (diff)
ask-password: don't show wall message on ttys we are already running a tty agent on
Diffstat (limited to 'src/utmp-wtmp.h')
-rw-r--r--src/utmp-wtmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utmp-wtmp.h b/src/utmp-wtmp.h
index 86bc6bd3fc..4054aff7ea 100644
--- a/src/utmp-wtmp.h
+++ b/src/utmp-wtmp.h
@@ -33,6 +33,6 @@ int utmp_put_runlevel(usec_t timestamp, int runlevel, int previous);
int utmp_put_dead_process(const char *id, pid_t pid, int code, int status);
int utmp_put_init_process(usec_t timestamp, const char *id, pid_t pid, pid_t sid, const char *line);
-int utmp_wall(const char *message);
+int utmp_wall(const char *message, bool (*match_tty)(const char *tty));
#endif