Found with misspell-check version 2.0d.
Reference: https://github.com/lyda/misspell-check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* 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
*
*
* Returns info about partition converted to printable string.
*
- * For exmaple
+ * For example
*
* struct fdisk_parition *pa;
*
* 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.
*
* @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.
utline[4] = 0;
/*
- * Is this something we wanna show?
+ * Is this something we want to show?
*/
if (ctl->show) {
char **walk;
* 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;