summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/label.c
diff options
context:
space:
mode:
authorKarel Zak2015-09-02 14:43:58 +0200
committerKarel Zak2015-09-02 14:51:00 +0200
commitdd49c7d6d666489401d2e65d381f256cc931c50b (patch)
tree0fb95e964caca76b85eb81b13276b51437505602 /libfdisk/src/label.c
parentmount: remove XFS from man page, xfsprogs provides xfs(5) (diff)
downloadkernel-qcow2-util-linux-dd49c7d6d666489401d2e65d381f256cc931c50b.tar.gz
kernel-qcow2-util-linux-dd49c7d6d666489401d2e65d381f256cc931c50b.tar.xz
kernel-qcow2-util-linux-dd49c7d6d666489401d2e65d381f256cc931c50b.zip
libfdisk: (gpt) reorder only when necessary
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/label.c')
-rw-r--r--libfdisk/src/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c
index 30d0e526f..bcb02ba3a 100644
--- a/libfdisk/src/label.c
+++ b/libfdisk/src/label.c
@@ -585,7 +585,7 @@ int fdisk_toggle_partition_flag(struct fdisk_context *cxt,
*
* Sort partitions according to the partition start sector.
*
- * Returns: 0 on success, otherwise, a corresponding error.
+ * Returns: 0 on success, 1 reorder unnecessary, otherwise a corresponding error.
*/
int fdisk_reorder_partitions(struct fdisk_context *cxt)
{