]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: clean up strings usage
authorKarel Zak <kzak@redhat.com>
Tue, 29 Jul 2014 09:43:01 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 Jul 2014 09:43:01 +0000 (11:43 +0200)
commit852feb7299fd517d546a13e4c0884597b77d0cfa
treeff8e9ecfd894ecfde98b45ef203a59c05ebdc533
parentaaf1b5e80153137277b586efd52922736ee46bf6
logger: clean up strings usage

 - use allocated buffers to compose the final messages

 - initialize static buffers to zero

 - remove strlen-after-sprintf

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