summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/item.c
diff options
context:
space:
mode:
authorSebastian Rasmussen2016-05-29 23:11:53 +0200
committerSebastian Rasmussen2016-05-31 23:40:21 +0200
commit9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch)
tree369493906bb3c1c6f2554609c737ada0230f4b2e /libfdisk/src/item.c
parentdocs: Fix various typos (diff)
downloadkernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'libfdisk/src/item.c')
-rw-r--r--libfdisk/src/item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libfdisk/src/item.c b/libfdisk/src/item.c
index 6da00796d..bdeba2962 100644
--- a/libfdisk/src/item.c
+++ b/libfdisk/src/item.c
@@ -48,7 +48,7 @@ struct fdisk_labelitem *fdisk_new_labelitem(void)
* fdisk_ref_labelitem:
* @li: label item
*
- * Incremparts reference counter.
+ * Increments reference counter.
*
* Since: v2.29
*/
@@ -85,7 +85,7 @@ int fdisk_reset_labelitem(struct fdisk_labelitem *li)
* fdisk_unref_labelitem:
* @li: label item
*
- * De-incremparts reference counter, on zero the @li is automatically
+ * Decrements reference counter, on zero the @li is automatically
* deallocated.
*
* Since: v2.29
@@ -215,7 +215,7 @@ static int test_listitems(struct fdisk_test *ts, int argc, char *argv[])
printf("%s: %ju\n", name, num);
break;
}
- case 1: /* item unssuported by label -- ignore */
+ case 1: /* item unsuported by label -- ignore */
rc = 0;
break;
case 2: /* end (out of range) */