]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix misspellings
authorRafael Fontenelle <rafaelff@gnome.org>
Sat, 4 Sep 2021 14:11:04 +0000 (11:11 -0300)
committerRafael Fontenelle <rafaelff@gnome.org>
Sat, 4 Sep 2021 14:11:04 +0000 (11:11 -0300)
Documentation/TODO
Documentation/howto-contribute.txt
include/buffer.h
lib/strutils.c
libblkid/src/blkidP.h
libblkid/src/superblocks/btrfs.c
libmount/src/optstr.c
sys-utils/lscpu-cputype.c

index 30939defafb6e919f0783797f75ea98c0918a790..74066fcd54591cfee731c582e233d12433ba4e1a 100644 (file)
@@ -85,7 +85,7 @@ libmount (mount/umount)
 -----------------------
 
  - mnt_context_get_excode() does not return error messages from /sbin/[u]mount.<type>
-   external helpers. It is disadvantages in same cases (non-terminal progarms).
+   external helpers. It is disadvantages in same cases (non-terminal programs).
    The solution is to use pipe(), keep output from helper in memory and return it later
    by mnt_context_get_excode() (or mnt_context_get_helper_output(), etc.). This feature
    should be optional and disabled by default.
index 9afc17c124439299c92124fe4df6995b7044a039..ac0d8acdcfb2c1a548d2368266cff851cd6bae22 100644 (file)
@@ -31,7 +31,7 @@ Sending Patches
        * don't include generated (autotools) files in your patches.
          Hint: use 'git clean -Xd'.
 
-        * don't include po/ (tranlations) changes to the upstream patches.
+        * don't include po/ (translations) changes to the upstream patches.
           The po/ stuff is maintained on http://translationproject.org/domain/util-linux.html
           and updated always before the next release.
 
index 724bcbe90a0a1fe95c18a7c54b7cde22d22d176a..ca9453136ea3109d136837bf61cffa3e739c639d 100644 (file)
@@ -14,7 +14,7 @@ struct ul_buffer {
        size_t encoded_sz;      /* space allocated for encoded data */
 
        char **ptrs;            /* saved pointers */
-       size_t nptrs;           /* number of saved poiters */
+       size_t nptrs;           /* number of saved pointers */
 };
 
 #define UL_INIT_BUFFER { .begin = NULL }
index 3f29654fe6d223c9d0bea74c06a2df5815589119..e85d265d2d273c6141e721653b3329523be4ba8b 100644 (file)
@@ -388,7 +388,7 @@ int ul_strtou32(const char *str, uint32_t *num, int base)
 }
 
 /*
- * Covert strings to numbers in defined range and print message on error.
+ * Convert strings to numbers in defined range and print message on error.
  *
  * These functions are used when we read input from users (getopt() etc.). It's
  * better to consolidate the code and keep it all based on 64-bit numbers then
index e3a160aa97c0145b72d0ed9cf98c51af22eef003..d0a2cfe17609f5755a016ea5d0acf8bf622bce3c 100644 (file)
@@ -151,7 +151,7 @@ struct blkid_idmag
        long            kboff;          /* kilobyte offset of superblock */
        unsigned int    sboff;          /* byte offset within superblock */
 
-       int             is_zoned;       /* indicate magic location is calcluated based on zone position  */
+       int             is_zoned;       /* indicate magic location is calculated based on zone position  */
        long            zonenum;        /* zone number which has superblock */
        long            kboff_inzone;   /* kilobyte offset of superblock in a zone */
 };
index 9aeee6ea15e4c050201367b7ebcffc33db4ad1da..78d767d260d7ddca75472da7f803ca2630578034 100644 (file)
@@ -103,7 +103,7 @@ static int sb_write_pointer(blkid_probe pr, struct blk_zone *zones, uint64_t *wp
         *   *: Special case, no superblock is written
         *   0: Use write pointer of zones[0]
         *   1: Use write pointer of zones[1]
-        *   C: Compare super blcoks from zones[0] and zones[1], use the latest
+        *   C: Compare super blocks from zones[0] and zones[1], use the latest
         *      one determined by generation
         *   x: Invalid state
         */
index e2a0734daf3d99541b148192978f7670bdf692b2..e78109af5ce4f228a62617e6e4df16141fd69811 100644 (file)
@@ -806,7 +806,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags,
                }
        }
 
-       /* remove from flags options which are alowed more than once */
+       /* remove from flags options which are allowed more than once */
        fl &= ~multi;
 
        /* add missing options (but ignore fl if contains MS_REC only) */
index c53bb8e24a138ffc4b0e1ec0a8ed1427180bd077..31f4009bcefed438635468486740ed6ba34ca9e9 100644 (file)
@@ -287,7 +287,7 @@ static int is_different_cputype(struct lscpu_cputype *ct, size_t offset, const c
        return 0;
 }
 
-/* cannonicalize @str -- remove number at the end return the
+/* canonicalize @str -- remove number at the end return the
  * number by @keynum. This is usable for example for "processor 5" or "cache1"
  * cpuinfo lines */
 static char *key_cleanup(char *str, int *keynum)