]> git.ipfire.org Git - thirdparty/util-linux.git/commit
various: fix more lgtm scan warnings
authorSami Kerola <kerolasa@iki.fi>
Thu, 20 Feb 2020 20:08:00 +0000 (20:08 +0000)
committerSami Kerola <kerolasa@iki.fi>
Thu, 20 Feb 2020 20:18:46 +0000 (20:18 +0000)
commitf6b6beaf6a559f2e5bb1c6e3a8073865288fafcb
tree9cd1804368bee8ba81a06429edc4e6c537a6981d
parent5d271cefad0d7a5b4d2fb4fa0f26c1e341f1354c
various: fix more lgtm scan warnings

The logger and rtwake time function changes continue the same fixes as
previous commit - use thread safe functions.  The libsmartcols condition
removal is possible because width must be greater than tb->termwidth that is
size_t and cannot be smaller than zero.  And remove couple FIXME's that are
old and unlikely ever to get fixed.

Reference: 3160589d86470ce7d20c81090fb7f211b3822053
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lib/mbsalign.c
libblkid/src/read.c
libsmartcols/src/calculate.c
misc-utils/logger.c
sys-utils/rtcwake.c