diff options
author | Karel Zak | 2017-05-23 14:22:04 +0200 |
---|---|---|
committer | Karel Zak | 2017-05-23 14:22:04 +0200 |
commit | f854eca369af484e15c901fa7053e6c3a1e3ffed (patch) | |
tree | 82976218064eedfe4df9fd4328d4f841b7e90743 /libfdisk/src/label.c | |
parent | libfdisk: (docs) add missing 'since' tags (diff) | |
download | kernel-qcow2-util-linux-f854eca369af484e15c901fa7053e6c3a1e3ffed.tar.gz kernel-qcow2-util-linux-f854eca369af484e15c901fa7053e6c3a1e3ffed.tar.xz kernel-qcow2-util-linux-f854eca369af484e15c901fa7053e6c3a1e3ffed.zip |
libfdisk: update docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/label.c')
-rw-r--r-- | libfdisk/src/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c index 1319284b0..c1afdf1b9 100644 --- a/libfdisk/src/label.c +++ b/libfdisk/src/label.c @@ -442,14 +442,14 @@ int fdisk_get_disklabel_id(struct fdisk_context *cxt, char **id) /** * fdisk_get_disklabel_item: * @cxt: fdisk context - * @id: item ID (FDISK_LABELITEM_* or {GPT,MBR,...}_LABELITEM_*) + * @id: item ID (FDISK_LABELITEM_* or *_LABELITEM_*) * @item: specifies and returns the item * * Note that @id is always in range 0..N. It's fine to use the function in loop * until it returns error or 2, the result in @item should be ignored when * function returns 1. Don't forget to use fdisk_reset_labelitem() or fdisk_unref_labelitem(). * - * Returns: 0 on success, < 0 on error, 1 on unsupported item, 2 @id out of range + * Returns: 0 on success, < 0 on error, 1 on unsupported item, 2 id out of range */ int fdisk_get_disklabel_item(struct fdisk_context *cxt, int id, struct fdisk_labelitem *item) { |