]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: normalize space in SERIAL and MODEL
authorKarel Zak <kzak@redhat.com>
Wed, 30 Jun 2021 10:25:18 +0000 (12:25 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:53:33 +0000 (11:53 +0200)
commit5ca73c6eef204ff39858099dd787eb84f75bfdb3
tree4769ae61b2869c00ace0520d2e5eba72402a91e4
parent6269a5fc0de7733d41073f9c473a200ac68fb7a1
lsblk: normalize space in SERIAL and MODEL

These strings come from HW and udev does not modify it. It seems good
idea to clean up it before we print it.

Fixes: https://github.com/karelzak/util-linux/issues/1368
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk-properties.c