]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: move reorder diag messages to fdisk_reorder_partitions()
authorPali Rohár <pali.rohar@gmail.com>
Mon, 12 Jul 2021 22:40:00 +0000 (00:40 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Mon, 12 Jul 2021 22:40:00 +0000 (00:40 +0200)
commitf05a5bb2c2e62d3753f8c9262b9f6cbf469e5b0e
treefd4c0453c6f497a9df275d7be4d9281a749e958a
parentb948bbf991a2b019a94bba980b248a80a99f468f
fdisk: move reorder diag messages to fdisk_reorder_partitions()

The function fdisk_reorder_partitions() is also used in sfdisk and cfdisk
and these commands assume info/warn messages from the library. So move all
messages from fdisk to fdisk_reorder_partitions().

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
disk-utils/fdisk-menu.c
libfdisk/src/label.c