From: Sami Kerola Date: Sun, 28 Sep 2014 19:51:37 +0000 (+0100) Subject: textual: fix couple typos in comments X-Git-Tag: v2.26-rc1~426 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bcf491a786cc88f7684d4cd7df37adb2ea333e6;p=thirdparty%2Futil-linux.git textual: fix couple typos in comments Signed-off-by: Sami Kerola --- diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index 4031f0b2f0..5e5a53d947 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -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. */ diff --git a/libfdisk/src/script.c b/libfdisk/src/script.c index bc92c82a7a..d91cef92d4 100644 --- a/libfdisk/src/script.c +++ b/libfdisk/src/script.c @@ -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) { diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c index c9f3d8f4b0..4191515eda 100644 --- a/libsmartcols/src/table_print.c +++ b/libsmartcols/src/table_print.c @@ -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) {