diff options
author | Karel Zak | 2017-01-16 11:20:32 +0100 |
---|---|---|
committer | Karel Zak | 2017-01-16 11:20:32 +0100 |
commit | b2140d2f24e046d57f9c653aad2f21732f04a51e (patch) | |
tree | b7c3f4ee0ee630ae61e51278cce5e01603f2ce9a /libfdisk/src/context.c | |
parent | partx: add --sector-size option (diff) | |
download | kernel-qcow2-util-linux-b2140d2f24e046d57f9c653aad2f21732f04a51e.tar.gz kernel-qcow2-util-linux-b2140d2f24e046d57f9c653aad2f21732f04a51e.tar.xz kernel-qcow2-util-linux-b2140d2f24e046d57f9c653aad2f21732f04a51e.zip |
libfdisk: apply label alignment properties
This fix changes from the previous patches.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/context.c')
-rw-r--r-- | libfdisk/src/context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index 25220f064..3d0e8754f 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -621,6 +621,8 @@ int fdisk_assign_device(struct fdisk_context *cxt, fdisk_probe_labels(cxt); + fdisk_apply_label_device_properties(cxt); + /* warn about obsolete stuff on the device if we aren't in * list-only mode and there is not PT yet */ if (!fdisk_is_listonly(cxt) && !fdisk_has_label(cxt) && check_collisions(cxt) < 0) |