]> 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)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:58:13 +0000 (11:58 +0200)
commit18492b47b7b6bb065240e8353b5dea69368e05fd
tree309b8113e80729994edf4cbb6fa47552873b96fe
parentdb4d80fcefae8ca8c67f3a64efe4562b23bd5a37
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