diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-04-26 14:55:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 14:55:41 +0200 |
commit | d21d71fb285ebd4726536159c4ccaa08b7046215 (patch) | |
tree | 03c8202c726881e003229aed98bf94ffeac7cb41 /src/basic | |
parent | 914f280d0c0f1555ff94d5490dc4f264af7f331f (diff) | |
parent | f3e4d04298bb73b836dd7ca90f7c7b09de1e776b (diff) | |
download | systemd-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.c | 2 |
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 |