summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/context.c
diff options
context:
space:
mode:
authorKarel Zak2014-11-21 09:42:23 +0100
committerKarel Zak2014-11-21 09:42:23 +0100
commit3c5ee57cd3e604bc728d261351abf69b2800980e (patch)
treedf45af498a3ff1d8f4cbf8c12defd30a86a38357 /libfdisk/src/context.c
parentagetty: keep the current baud before try 9600 on serial lines (diff)
downloadkernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.tar.gz
kernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.tar.xz
kernel-qcow2-util-linux-3c5ee57cd3e604bc728d261351abf69b2800980e.zip
agetty: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/context.c')
-rw-r--r--libfdisk/src/context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c
index 5385baaae..698e71d93 100644
--- a/libfdisk/src/context.c
+++ b/libfdisk/src/context.c
@@ -197,6 +197,10 @@ void fdisk_ref_context(struct fdisk_context *cxt)
*
* If no @name specified then returns the current context label.
*
+ * The label is allocated and maintained within the context #cxt. There is
+ * nothing like reference counting for labels, you cannot delallocate the
+ * label.
+ *
* Returns: label struct or NULL in case of error.
*/
struct fdisk_label *fdisk_get_label(struct fdisk_context *cxt, const char *name)