textual: fix some typos

Found with misspell-check version 2.0d.

Reference: https://github.com/lyda/misspell-check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2014-07-13 17:17:51 +01:00
parent 8b9d1474a4
commit 0e65dcde88
6 changed files with 6 additions and 6 deletions

View 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
*

View 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;
*

View 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.
*

View 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.

View 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;

View 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;