diff options
author | Karel Zak | 2019-05-23 13:53:00 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-23 13:53:00 +0200 |
commit | a2761af42be7a8a9e611e3188e58b6340c822282 (patch) | |
tree | 6c470c59debe111491fe41ac067fbb930e5709e6 /sys-utils | |
parent | lsblk: make sure __process_one_device() has proper arguments [coverity scan] (diff) | |
download | kernel-qcow2-util-linux-a2761af42be7a8a9e611e3188e58b6340c822282.tar.gz kernel-qcow2-util-linux-a2761af42be7a8a9e611e3188e58b6340c822282.tar.xz kernel-qcow2-util-linux-a2761af42be7a8a9e611e3188e58b6340c822282.zip |
whereis: make subdirs scan more robust
* call strchr() only once
* avoid things like strcat(buf, strchr(dir, '*') + 1)
* make it more readable
* improve debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
0 files changed, 0 insertions, 0 deletions