From 4981427cd48a13a8245427458e49c5712c2db67e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 14 Jul 2022 14:35:37 +0200 Subject: [PATCH] fstab-generator: tweak comments --- src/fstab-generator/fstab-generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 84d7edb9223..257e99fa13f 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -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; } -- 2.47.3