]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: use new ul_path_* API
authorKarel Zak <kzak@redhat.com>
Fri, 25 May 2018 10:51:55 +0000 (12:51 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Jun 2018 11:07:46 +0000 (13:07 +0200)
commit6e509042b80c0549c6634cbdf66b71d0b764a158
tree8cc99bbde72662e97f127cc05bf368b219d51e86
parent9023b2012340c76340337bce71eafaa90ac3c612
lscpu: use new ul_path_* API

* use ul_path_* API for /sys/devices/system/cpu paths
* use ul_path_* API for /proc
* rename is_compatible() to is_devtree_compatible() as it works
  with the devices tree only

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.c
sys-utils/lscpu.h