summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/label.c
diff options
context:
space:
mode:
authorKarel Zak2015-01-13 13:46:09 +0100
committerKarel Zak2015-01-13 13:46:09 +0100
commitdee59a1ee619448e93bc05520d28615640779f6f (patch)
treeaa5e715065dc931261e491cc9ab354366cf9beee /libfdisk/src/label.c
parentlibblkid: fix compiler warnings [-Wpointer-sign] (diff)
downloadkernel-qcow2-util-linux-dee59a1ee619448e93bc05520d28615640779f6f.tar.gz
kernel-qcow2-util-linux-dee59a1ee619448e93bc05520d28615640779f6f.tar.xz
kernel-qcow2-util-linux-dee59a1ee619448e93bc05520d28615640779f6f.zip
libfdisk: fix some typos
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/label.c')
-rw-r--r--libfdisk/src/label.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c
index e4d15b216..beff2e827 100644
--- a/libfdisk/src/label.c
+++ b/libfdisk/src/label.c
@@ -15,9 +15,9 @@
* fdisk_unref_context() only.
*
* Anyway, all label drives share in-memory first sector. The function
- * fdisk_create_disklabel() overwrites the sector. But it's possible that
- * label driver also uses another buffers, for example GPT uses more than only
- * the first sector.
+ * fdisk_create_disklabel() overwrites thi in-memory sector. But it's possible that
+ * label driver also uses another buffers, for example GPT reads more sectors
+ * from the device.
*
* All label operations are in-memory only, except fdisk_write_disklabel().
*
@@ -370,7 +370,7 @@ int fdisk_create_disklabel(struct fdisk_context *cxt, const char *name)
*
* Locate disklabel and returns info about @n item of the label. For example
* GPT is composed from two items, PMBR and GPT, n=0 return offset to PMBR and n=1
- * return offset to GPT. For more details see 'D' expect fdisk command.
+ * return offset to GPT. For more details see 'D' expert fdisk command.
*
* Returns: 0 on succes, <0 on error, 1 no more items.
*/