]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: fix couple typos in comments
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Sep 2014 19:51:37 +0000 (20:51 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Oct 2014 10:33:15 +0000 (12:33 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libfdisk/src/context.c
libfdisk/src/script.c
libsmartcols/src/table_print.c

index 4031f0b2f0225e0b26dec9e792328724b5e9e96d..5e5a53d9474c7b0ff988b97a30ad9fed9f96e655 100644 (file)
@@ -644,7 +644,7 @@ int fdisk_use_cylinders(struct fdisk_context *cxt)
  * fdisk_get_units_per_sector:
  * @cxt: context
  *
- * This is neccessary only for brain dead situations when we use "cylinders";
+ * This is necessary only for brain dead situations when we use "cylinders";
  *
  * Returns: number of "units" per sector, default is 1 if display unit is sector.
  */
index bc92c82a7a5d2b036e51db7734539e14b7480d31..d91cef92d4fca1f1c99ef326d4153bbf9f434252 100644 (file)
@@ -344,7 +344,7 @@ int fdisk_script_read_context(struct fdisk_script *dp, struct fdisk_context *cxt
  *
  * Writes script @dp to the ile @f.
  *
- * Returns: 0 on sucess, <0 on error.
+ * Returns: 0 on success, <0 on error.
  */
 int fdisk_script_write_file(struct fdisk_script *dp, FILE *f)
 {
index c9f3d8f4b042c202c4e338f8db4ef50b38b71973..4191515edaf994fdde915d57fb9214bef8b9b11d 100644 (file)
@@ -100,7 +100,7 @@ static int buffer_set_data(struct libscols_buffer *buf, const char *str)
        return rc ? rc : buffer_append_data(buf, str);
 }
 
-/* save the current buffer possition to art_idx */
+/* save the current buffer position to art_idx */
 static void buffer_set_art_index(struct libscols_buffer *buf)
 {
        if (buf) {