diff options
author | Karel Zak | 2018-09-14 15:49:00 +0200 |
---|---|---|
committer | Karel Zak | 2018-09-14 15:49:00 +0200 |
commit | 04be258d65ba9fcc61db3f99ba09149f92d5c2c8 (patch) | |
tree | 9909ee9d93a02ba8f04c27ce5607896553a253bd /misc-utils/lsblk.c | |
parent | lsblk: init/deinit libmount stuff (diff) | |
download | kernel-qcow2-util-linux-04be258d65ba9fcc61db3f99ba09149f92d5c2c8.tar.gz kernel-qcow2-util-linux-04be258d65ba9fcc61db3f99ba09149f92d5c2c8.tar.xz kernel-qcow2-util-linux-04be258d65ba9fcc61db3f99ba09149f92d5c2c8.zip |
lsblk: use lsblk_ prefix mountpoint getter
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.c')
-rw-r--r-- | misc-utils/lsblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 4a2e265ee..d466a25b1 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -785,7 +785,7 @@ static char *get_vfs_attribute(struct blkdev_cxt *cxt, int id) char *mnt; if (!cxt->fsstat.f_blocks) { - mnt = get_device_mountpoint(cxt); + mnt = lsblk_device_get_mountpoint(cxt); if (!mnt) return NULL; if (statvfs(mnt, &cxt->fsstat) != 0) @@ -894,7 +894,7 @@ static void set_scols_data(struct blkdev_cxt *cxt, int col, int id, struct libsc str = get_vfs_attribute(cxt, id); break; case COL_TARGET: - str = xstrdup(get_device_mountpoint(cxt)); + str = xstrdup(lsblk_device_get_mountpoint(cxt)); break; case COL_LABEL: probe_device(cxt); |