]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: simplify USE_SYSTEMD ifdef in output_special_char
authorKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2026 11:34:43 +0000 (12:34 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2026 11:35:24 +0000 (12:35 +0100)
commita20b01cc35da902521bb4dc6a84dfac3dd90e248
tree831cdc78a4c87f7470f65233ec798b202d7513da
parentb526f613c19a9163d8752c4515c9e152f68e953f
agetty: simplify USE_SYSTEMD ifdef in output_special_char

Remove unnecessary duplicate #ifdef USE_SYSTEMD around the else
branch for utmpx-based user counting. Use the same pattern as
USE_NETLINK where the else and opening brace are split across the
endif boundary.

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c