]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: fix typos
authorSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:31:00 +0000 (11:31 +0000)
committerSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:42:28 +0000 (11:42 +0000)
Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
lib/randutils.c
libblkid/src/cache.c
libblkid/src/probe.c
libmount/src/fs.c
misc-utils/uuidgen.1

index bf8193338917eb63332ca0e10afd2b9f10b2c381..b473577af597159683d96d279b444f3beeca7dbe 100644 (file)
@@ -36,7 +36,7 @@
 #endif
 
 #if !defined(HAVE_GETRANDOM) && defined(SYS_getrandom)
-/* libc without function, but we have syscal */
+/* libc without function, but we have syscall */
 #define GRND_NONBLOCK 0x01
 #define GRND_RANDOM 0x02
 static int getrandom(void *buf, size_t buflen, unsigned int flags)
index c199b919e4255ead11147a95ff6fd53387640d61..a7f2c95ffc1a18e2160489068540b03ae2751dac 100644 (file)
@@ -86,7 +86,7 @@ char *blkid_get_cache_filename(struct blkid_config *conf)
  * @cache: pointer to return cache handler
  * @filename: path to the cache file or NULL for the default path
  *
- * Allocates and initialize library cache handler.
+ * Allocates and initializes library cache handler.
  *
  * Returns: 0 on success or number less than zero in case of error.
  */
@@ -183,7 +183,7 @@ void blkid_gc_cache(blkid_cache cache)
        list_for_each_safe(p, pnext, &cache->bic_devs) {
                blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs);
                if (stat(dev->bid_name, &st) < 0) {
-                       DBG(CACHE, ul_debugobj(cache, "freeing non-exiting %s", dev->bid_name));
+                       DBG(CACHE, ul_debugobj(cache, "freeing non-existing %s", dev->bid_name));
                        blkid_free_dev(dev);
                        cache->bic_flags |= BLKID_BIC_FL_CHANGED;
                } else {
index 8f5f59da3bcc76a53848cc7aeaed1f2a1a6f932c..c1efcff28e4da0350c7d6b509d6eb2dca81e3c8b 100644 (file)
@@ -577,7 +577,7 @@ static struct blkid_bufinfo *read_buffer(blkid_probe pr, uint64_t real_off, uint
 }
 
 /*
- * Search in buffers we already in memory
+ * Search in buffers we already have in memory
  */
 static struct blkid_bufinfo *get_cached_buffer(blkid_probe pr, uint64_t off, uint64_t len)
 {
index 52f937acc3454a754a1425acf038d0789cd07184..d669b61672d3633df33d9babae6a884724d5d61b 100644 (file)
@@ -153,8 +153,8 @@ static inline int update_str(char **dest, const char *src)
        return 0;
 }
 
-/* This function do NOT overwrite (replace) the string in @new, the string in
- * the @new has to be NULL otherwise this is no-op */
+/* This function does NOT overwrite (replace) the string in @new, the string in
+ * @new has to be NULL otherwise this is no-op. */
 static inline int cpy_str_at_offset(void *new, const void *old, size_t offset)
 {
        char **o = (char **) ((char *) old + offset);
index 0189587a3104153682d98210381e4d7067d750f4..2c660e6e48bf4a18da2fb2f66c695408e5787e03 100644 (file)
@@ -57,7 +57,7 @@ See the RFC for more information.
 .TP
 .BR \-r , " \-\-random"
 Generate a random-based UUID.  This method creates a UUID consisting mostly
-of random bits.  It requires that the operating system have a high
+of random bits.  It requires that the operating system has a high
 quality random number generator, such as
 .IR /dev/random .
 .TP