diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-07 12:52:58 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-15 22:50:00 +0100 |
commit | af3b864d76cf916a026b7877099791811b348fdf (patch) | |
tree | 40db7161280edc4dcc24b8a0cd20514f45a3ea1f /src/tty-ask-password-agent | |
parent | c7f0d9e5acef3f62db3640d5ab7446241c022b35 (diff) | |
download | systemd-af3b864d76cf916a026b7877099791811b348fdf.tar.gz |
Define FOREACH_DIRENT through FOREACH_DIRENT_ALL
As in the previous commit, 'de' is used as the iterator variable name.
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r-- | src/tty-ask-password-agent/tty-ask-password-agent.c | 1 |
1 files changed, 0 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 56110ba375..54a03af082 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -295,7 +295,6 @@ static int wall_tty_block(void) { static int process_password_files(void) { _cleanup_closedir_ DIR *d = NULL; - struct dirent *de; int r = 0; d = opendir("/run/systemd/ask-password"); |