]> 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>
Wed, 30 Jun 2021 10:25:18 +0000 (12:25 +0200)
commit16a1c8dcdfebd283c02dde2fc3f8355ce6979cdf
tree2fd20bbe7752448692d3f759571c34450e73eea9
parent9c092ff340a059c8a3ca3a7e39a8ca974e4692e2
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