]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: tweak comments
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Jul 2022 12:35:37 +0000 (14:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 15 Jul 2022 13:48:05 +0000 (15:48 +0200)
src/fstab-generator/fstab-generator.c

index 84d7edb92236c1847797fdd0daa59a2af59322f5..257e99fa13f8b011b18b9336d45da273e33851dc 100644 (file)
@@ -635,7 +635,7 @@ static int parse_fstab(bool initrd) {
                         k = chase_symlinks(where, initrd ? "/sysroot" : NULL,
                                            CHASE_PREFIX_ROOT | CHASE_NONEXISTENT,
                                            &canonical_where, NULL);
-                        if (k < 0) /* If we can't canonicalize we continue on as if it wasn't a symlink */
+                        if (k < 0) /* If we can't canonicalize, continue as if it wasn't a symlink */
                                 log_debug_errno(k, "Failed to read symlink target for %s, ignoring: %m", where);
                         else if (streq(canonical_where, where)) /* If it was fully canonicalized, suppress the change */
                                 canonical_where = mfree(canonical_where);
@@ -761,7 +761,7 @@ static int add_sysroot_mount(void) {
         }
 
         if (streq(arg_root_what, "gpt-auto")) {
-                /* This is handled by the gpt-auto generator */
+                /* This is handled by gpt-auto-generator */
                 log_debug("Skipping root directory handling, as gpt-auto was requested.");
                 return 0;
         }