libmount: make mnt_table_replace_file() more robust [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
last: check fstat() return [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
utmpdump: make analyzers happy

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: make tab parsers more robust [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: check for mnt_fs_get_tag() return value [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid: use proper type in xfs log checker [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: remove dead code [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
lscpu: don't pass null pointer to string functions [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
lscpu: check strchr() result [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>