]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: fix some typos
authorSami Kerola <kerolasa@iki.fi>
Sun, 13 Jul 2014 16:17:51 +0000 (17:17 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 13 Jul 2014 16:21:02 +0000 (17:21 +0100)
Found with misspell-check version 2.0d.

Reference: https://github.com/lyda/misspell-check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lib/strutils.c
libfdisk/src/partition.c
libmount/src/tab.c
libsmartcols/src/version.c
login-utils/last.c
sys-utils/fstrim.c

index 31bf9e2aff24e5b28f9d15d4e5a34416c24de2b7..9fe9481bcf9194f03a9cdedd4c41a42a277859a3 100644 (file)
@@ -47,7 +47,7 @@ static int do_scale_by_power (uintmax_t *x, int base, int power)
  * The optinal 'power' variable returns number associated with used suffix
  * {K,M,G,T,P,E,Z,Y}  = {1,2,3,4,5,6,7,8}.
  *
- * The funtion also supports decimal point, for example:
+ * The function also supports decimal point, for example:
  *              0.5MB   = 500000
  *              0.5MiB  = 512000
  *
index 70f707cbb88a0199e3739e54a5efb8992f92d976..32473a3aba77b66eac8f40cb59e770514fc5f5bc 100644 (file)
@@ -303,7 +303,7 @@ int fdisk_partition_next_partno(
  *
  * Returns info about partition converted to printable string.
  *
- * For exmaple
+ * For example
  *
  *      struct fdisk_parition *pa;
  *
index fd6a7d8e2451253104d9ad805c5db035751ac058..4094fb878a481b1b9e29dcc932a0718deb8b9f16 100644 (file)
@@ -390,7 +390,7 @@ int mnt_table_append_trailing_comment(struct libmnt_table *tb, const char *comm)
  * same cache between more threads -- currently the cache does not provide any
  * locking method.
  *
- * This function increments cache refrence counter. It's recomented to use
+ * This function increments cache reference counter. It's recomented to use
  * mnt_unref_cache() after mnt_table_set_cache() if you want to keep the cache
  * referenced by @tb only.
  *
index 9aa4e33666c365ebb08d4184af446f52be9b6ddc..e592cccfdd6438ca9f7836fc8175254e5b0c9966 100644 (file)
@@ -11,7 +11,7 @@
  * @title: Version functions
  * @short_description: functions to get the library version.
  *
- * Note that library version is not the same thing as SONAME verison. The
+ * Note that library version is not the same thing as SONAME version. The
  * libsmarcols uses symbols versioning and SONAME is not modified for releases.
  *
  * The library version and symbols version follow util-linux package versioning.
index ba58c4433831b44354649cd52ebc5d7513e2d1c7..4c70eaaafaebd24b52112e547fb69fd5d9164501 100644 (file)
@@ -401,7 +401,7 @@ static int list(const struct last_control *ctl, struct utmp *p, time_t t, int wh
                utline[4] = 0;
 
        /*
-        *      Is this something we wanna show?
+        *      Is this something we want to show?
         */
        if (ctl->show) {
                char **walk;
index c51c7a804069cc52ffb19ecaff395ee8303cf79d..d52d83194c12f476b4273ece03a80554f1d807cd 100644 (file)
@@ -118,7 +118,7 @@ static int has_discard(const char *devname, struct sysfs_cxt *wholedisk)
         * This is tricky to read the info from sys/, because the queue
         * atrributes are provided for whole devices (disk) only. We're trying
         * to reuse the whole-disk sysfs context to optimize this stuff (as
-        * system usualy have just one disk only).
+        * system usually have just one disk only).
         */
        if (sysfs_devno_to_wholedisk(dev, NULL, 0, &disk) || !disk)
                return 1;