diff options
author | Karel Zak | 2014-08-14 00:27:28 +0200 |
---|---|---|
committer | Karel Zak | 2014-08-14 00:27:28 +0200 |
commit | 11ee1177ffa723200f77cbb640da49122ef04ec9 (patch) | |
tree | 02b9debcc492a7835b9323bd8822919c9fa2f189 /disk-utils/fdisk.c | |
parent | libfdisk: cleanup label geometry API (diff) | |
download | kernel-qcow2-util-linux-11ee1177ffa723200f77cbb640da49122ef04ec9.tar.gz kernel-qcow2-util-linux-11ee1177ffa723200f77cbb640da49122ef04ec9.tar.xz kernel-qcow2-util-linux-11ee1177ffa723200f77cbb640da49122ef04ec9.zip |
libfdisk: make it possible to get fields for all labes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk.c')
-rw-r--r-- | disk-utils/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 4a9262905..ed008e703 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -554,7 +554,7 @@ void list_disklabel(struct fdisk_context *cxt) if (fdisk_get_partitions(cxt, &tb) || fdisk_table_get_nents(tb) <= 0) goto done; - if (fdisk_get_fields_ids(cxt, 0, &ids, &nids)) + if (fdisk_label_get_fields_ids(NULL, cxt, &ids, &nids)) goto done; itr = fdisk_new_iter(FDISK_ITER_FORWARD); |