]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: simplify code in dolog() preprocessor blocks
authorSami Kerola <kerolasa@iki.fi>
Sun, 21 Jul 2019 20:36:28 +0000 (21:36 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 24 Jul 2019 09:11:46 +0000 (11:11 +0200)
commit2a952555d2b56ffaf461465139255c94bf6a49a5
treef6c0841fe09634b8ebe78fd122daa59ee3413fbb
parent1aaee548e3cbe00a084103792b03605182eefd04
agetty: simplify code in dolog() preprocessor blocks

Aim is to make dolog() a lot more readable and understandable, with downside
of when (rarely?) USE_SYSLOG it not defined the function will use a bit more
space from stack.  I think that is price well worth paying.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/agetty.c