summaryrefslogtreecommitdiffstats
path: root/src/tty-ask-password-agent
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-31 15:10:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-31 15:54:16 +0200
commit16618332388442f2f1c3e52b0a9fde00121564a3 (patch)
treeae0f658c927bb57ac7792f88fa108ed9153bdf5b /src/tty-ask-password-agent
parenttty-ask-password-agent: drop unnecessary code for non-absolute paths (diff)
downloadsystemd-16618332388442f2f1c3e52b0a9fde00121564a3.tar.xz
systemd-16618332388442f2f1c3e52b0a9fde00121564a3.zip
shared/utmp-wtmp: pass information if entry is local to filter function
This just adds an unused parameter for future use. No change in behaviour.
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 09835ca903..b7d279cc22 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -94,7 +94,7 @@ static int send_passwords(const char *socket_name, char **passwords) {
return (int) n;
}
-static bool wall_tty_match(const char *path, void *userdata) {
+static bool wall_tty_match(const char *path, bool is_local, void *userdata) {
_cleanup_free_ char *p = NULL;
_cleanup_close_ int fd = -1;
struct stat st;