summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-26 14:55:41 +0200
committerGitHub <noreply@github.com>2023-04-26 14:55:41 +0200
commitd21d71fb285ebd4726536159c4ccaa08b7046215 (patch)
tree03c8202c726881e003229aed98bf94ffeac7cb41 /src/basic
parent914f280d0c0f1555ff94d5490dc4f264af7f331f (diff)
parentf3e4d04298bb73b836dd7ca90f7c7b09de1e776b (diff)
downloadsystemd-d21d71fb285ebd4726536159c4ccaa08b7046215.tar.gz
Merge pull request #26944 from aafeijoo-suse/systemd-network-generator-initrd-fix
network-generator: do not parse kernel command line more than once
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/fs-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c
index f8cd93800d..1e1413dc80 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -820,7 +820,7 @@ int conservative_renameat(
_cleanup_close_ int old_fd = -EBADF, new_fd = -EBADF;
struct stat old_stat, new_stat;
- /* Renames the old path to thew new path, much like renameat() — except if both are regular files and
+ /* Renames the old path to the new path, much like renameat() — except if both are regular files and
* have the exact same contents and basic file attributes already. In that case remove the new file
* instead. This call is useful for reducing inotify wakeups on files that are updated but don't
* actually change. This function is written in a style that we rather rename too often than suppress