diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-14 14:35:37 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-15 15:48:05 +0200 |
commit | 4981427cd48a13a8245427458e49c5712c2db67e (patch) | |
tree | 090cb4fa96227e36fe7c0f6f9b14f345d45a7a7b | |
parent | 99e3d4767932bce5febb45e8543162d729d17425 (diff) | |
download | systemd-4981427cd48a13a8245427458e49c5712c2db67e.tar.gz |
fstab-generator: tweak comments
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 84d7edb922..257e99fa13 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; } |