]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fix it's vs. its, and some adjacent errors
authormr-bronson <ghbugs@toeai.com>
Tue, 27 Aug 2024 06:19:47 +0000 (06:19 +0000)
committermr-bronson <ghbugs@toeai.com>
Tue, 27 Aug 2024 06:19:47 +0000 (06:19 +0000)
But still need rewrite of opaque comments @ libmount/src/context_umount.c:350-353 and libmount/src/context.c:1149-1150.

16 files changed:
Documentation/releases/v2.22-ReleaseNotes
Documentation/releases/v2.25-ReleaseNotes
Documentation/releases/v2.26-ReleaseNotes
libblkid/src/Makemodule.am
libblkid/src/superblocks/sysv.c
libfdisk/src/partition.c
libmount/src/Makemodule.am
libmount/src/context.c
libmount/src/context_umount.c
misc-utils/findmnt.c
schedutils/chrt.c
sys-utils/chmem.8.adoc
sys-utils/eject.c
tests/ts/hexdump/highlighting
text-utils/column.1.adoc
text-utils/hexdump.h

index b3163023b5e80f66759390ff51553454b79e4d57..a8045565a437daf03e027e4432c2044c49c9e637 100644 (file)
@@ -40,7 +40,7 @@ eject(1):
   - supports new options --manualeject, --force and --no-partitions-unmount
 
 lslocks(1)
-  - this NEW COMMAND prints local system locks and it's replacement to very
+  - this NEW COMMAND prints local system locks; it's a replacement for very
     long time unmaintained lslk(1)
 
 wdctl(8):
index 0722507f5af48616fa09ddb3ac518cb7b0ad0259..ddc15bfebe031babdaba0f32d1a4dea6482e8680 100644 (file)
@@ -423,7 +423,7 @@ getopt:
 hexdump:
    - Create struct hexdump containing previously global variables.  [Ondrej Oprala]
    - Merge hexsyntax.c into hexdump.c  [Ondrej Oprala]
-   - Rename struct _pr to struct hexdump_pr and remove it's typedef  [Ondrej Oprala]
+   - Rename struct _pr to struct hexdump_pr and remove its typedef  [Ondrej Oprala]
    - add --color to the man page  [Karel Zak]
    - add __attribute__ ((__noreturn__)) to bad*() functions  [Ondrej Oprala]
    - add basic tests  [Ondrej Oprala]
index 84012bbdf0162d56dd8f73105ace82685d5407d0..eb610089eaa88f2aaff343e14fb547903aa8a88d 100644 (file)
@@ -756,7 +756,7 @@ mkswap:
    - remove memory leaks [LeakSanitizer] [valgrind]  [Sami Kerola]
    - remove system architecture specific max swap size checks  [Sami Kerola]
    - remove unnecessary size check  [Sami Kerola]
-   - set variable only when it's value is known  [Sami Kerola]
+   - set variable only when its value is known  [Sami Kerola]
    - use err() rather than perror() && exit()  [Sami Kerola]
    - various minor improvement  [Sami Kerola]
 more:
index 3fae3f039ec15ead63ee403a430df72376bd77ef..78ebb22253f3db1bf3d4f9626a85f25d81bbb1a8 100644 (file)
@@ -1,5 +1,5 @@
 
-# blkid.h is generated, so it's store in builddir!
+# blkid.h is generated, so it's stored in builddir!
 blkidincdir = $(includedir)/blkid
 nodist_blkidinc_HEADERS = libblkid/src/blkid.h
 
index a9085c44cc8cef488a2dae4d56b8a8e190353c60..a5caee9bb07136435045508d57fa8c5b45ce506c 100644 (file)
@@ -146,8 +146,8 @@ const struct blkid_idinfo sysv_idinfo =
        .usage          = BLKID_USAGE_FILESYSTEM,
        .probefunc      = probe_sysv,
 
-       /* SYSV is BE and LE and superblock could be on four positions. It's
-        * simpler to probe for the magic string by .probefunc().
+       /* SYSV is BE and LE, and superblock could be one of four positions.
+        * So it's simpler to probe for the magic string via .probefunc().
         */
        .magics         = BLKID_NONE_MAGIC
 };
index 22a07af70274305cf94d334515bd6a49277e7e53..9a5614d2154a7c756baa74a1c4f46e95e2887047 100644 (file)
@@ -1142,7 +1142,7 @@ static int resize_get_first_possible(
  * counts size of all this space.
  *
  * This is core of the partition start offset move operation. We can move the
- * start within the current partition of to the another free space. It's
+ * start within the current partition to another free space. It's
  * forbidden to move start of the partition to another already defined
  * partition.
  */
index f8cedbd280db38bd74a874892b346e7a47cae33f..66963bb0943a08ebf842468e9c0b11c6d4e31dc7 100644 (file)
@@ -1,5 +1,5 @@
 
-# libmount.h is generated, so it's store in builddir!
+# libmount.h is generated, so it's stored in builddir!
 mountincdir = $(includedir)/libmount
 nodist_mountinc_HEADERS = libmount/src/libmount.h
 
index d38e3671f6fadb1391a8d11b0dd7b02377a4599a..ee27386afd86fb4a948c00fa47da9cc1d66060b4 100644 (file)
@@ -1146,8 +1146,8 @@ fail:
  * @cxt: mount context
  * @optstr: comma delimited mount options
  *
- * Note that MS_MOVE cannot be specified as "string". It's operation that
- * is no supported in fstab (etc.)
+ * Note that MS_MOVE cannot be specified as "string". It's an operation that
+ * is not supported in fstab (etc.)
  *
  * Returns: 0 on success, negative number in case of error.
  */
index c22ffbd80bbc2d016e5e5c5c95701edb00058f36..aae7fa410281cc76c6a3dc8b2c542a92cac7380f 100644 (file)
@@ -349,7 +349,7 @@ static int lookup_umount_fs_by_mountinfo(struct libmnt_context *cxt, const char
 
 /* This function searches for FS according to cxt->fs->target,
  * apply result to cxt->fs and it's umount replacement to
- * mnt_context_apply_fstab(), use mnt_context_tab_applied()
+ * mnt_context_apply_fstab(); use mnt_context_tab_applied()
  * to check result.
  *
  * The goal is to minimize situations when we need to parse
index 05ed951bf79e895e83f86f6881cb6dd271bc3706..67ea42b94354cc003ad2638111116264d25fa696 100644 (file)
@@ -2004,7 +2004,7 @@ int main(int argc, char *argv[])
        if (!(findmnt.flags & FL_NOSWAPMATCH) &&
            !get_match(COL_TARGET) && get_match(COL_SOURCE)) {
                /*
-                * Check if we can swap source and target, it's
+                * Check if we can swap source and target; it's
                 * not possible if the source is LABEL=/UUID=
                 */
                const char *x = get_match(COL_SOURCE);
index dde3e48ce9e202cea9db09fbcac9d6a777d30c05..91e05831c402828485cea4e490db7de8208be75d 100644 (file)
@@ -459,7 +459,7 @@ int main(int argc, char **argv)
        if (ctl->policy == SCHED_DEADLINE) {
                /* The basic rule is runtime <= deadline <= period, so we can
                 * make deadline and runtime optional on command line. Note we
-                * don't check any values or set any defaults, it's kernel
+                * don't check any values or set any defaults; it's kernel's
                 * responsibility.
                 */
                if (ctl->deadline == 0)
index de628aa43852c60db839243e5bfa1cb56749b565..029bc0832cd09057808d1fa50061c980d26d9bc9 100644 (file)
@@ -47,7 +47,7 @@ Set the specified _RANGE_, _SIZE_, or _BLOCKRANGE_ of memory online.
 Select the memory _ZONE_ where to set the specified _RANGE_, _SIZE_, or _BLOCKRANGE_ of memory online or offline. By default, memory will be set online to the zone Movable, if possible.
 
 *-v*, *--verbose*::
-Verbose mode. Causes *chmem* to print debugging messages about it's progress.
+Verbose mode. Causes *chmem* to print debugging messages about its progress.
 
 include::man-common/help-version.adoc[]
 
index 166d591ec77f112df3e0c645a3f1366e67282fde..12b1156008ee4f77e3ff0e206409adfd6da40c42 100644 (file)
@@ -330,7 +330,7 @@ static void auto_eject(const struct eject_control *ctl)
 /*
  * Stops CDROM from opening on manual eject button press.
  * This can be useful when you carry your laptop
- * in your bag while it's on and no CD inserted in it's drive.
+ * in your bag while it's on and no CD is inserted in its tray.
  * Implemented as found in Documentation/userspace-api/ioctl/cdrom.rst
  */
 static void manual_eject(const struct eject_control *ctl)
index cb94615925296b9cd79add4e04568dc0a90250fa..b7208fa83a2a986be7db0d78b089bebc01df21b7 100755 (executable)
@@ -57,8 +57,8 @@ $TS_CMD_HEXDUMP $OPTS $ADDRFMT \
        $FILES/ascii.in &> $TS_OUTPUT
 ts_finalize_subtest
 
-# highlight the byte at offset 194 if it's value is 0x61 (a)
-# and the byte at offset 130 if it's value is A (0x41)
+# highlight the byte at offset 194 if its value is 0x61 (a)
+# and the byte at offset 130 if its value is A (0x41)
 ts_init_subtest "1b_octal-4"
 TS_EXPECTED+=$BE_EXT
 $TS_CMD_HEXDUMP $OPTS $ADDRFMT \
@@ -66,8 +66,8 @@ $TS_CMD_HEXDUMP $OPTS $ADDRFMT \
        $FILES/ascii.in &> $TS_OUTPUT
 ts_finalize_subtest
 
-# highlight the byte at offset 194 if it's value is 0x61 (a)
-# and the byte at offset 130 if it's value is C (0x41) (false)
+# highlight the byte at offset 194 if its value is 0x61 (a)
+# and the byte at offset 130 if its value is C (0x41) (false)
 ts_init_subtest "1b_octal-5"
 TS_EXPECTED+=$BE_EXT
 $TS_CMD_HEXDUMP $OPTS $ADDRFMT \
index 0fdc53455813bb0e31a2a64ca1536b856ef4f6c4..38c802c10e37f11fb693a88c72656d7fc2d4868e 100644 (file)
@@ -67,7 +67,7 @@ Input is taken from _file_, or otherwise from standard input. Empty lines are ig
 
 The argument _columns_ for *--table-** options is a comma separated list of the
 column names as defined by *--table-columns*, or names defined by
-*--table-column* or it's column number in order as specified by input. It's
+*--table-column* or its column number in order as specified by input. It's
 possible to mix names and numbers. The special placeholder '0' (e.g. -R0) may
 be used to specify all columns and '-1' (e.g. -R -1) to specify the last visible column.
 It's possible to use ranges like '1-5' when addressing columns by numbers.
index 3233985d739c1b3e82a1f1a0b66f0b715bbc3e2d..4b17e269830b653ce48d01561e2318c8bd0f4203 100644 (file)
@@ -41,8 +41,8 @@
 struct hexdump_clr {
        struct list_head colorlist;     /* next color unit */
        const char *fmt;                /* the color, UL_COLOR_* */
-       off_t offt;                     /* offset where unit is valid... */
-       int range;                      /* ... and it's range */
+       off_t offt;                     /* offset of range where unit is valid... */
+       int range;                      /* ... and range length */
        int val;                        /* value ... */
        char *str;                      /* ... or string to match */
        int invert;                     /* invert condition? */