summaryrefslogtreecommitdiff
path: root/src/basic/fs-util.c
diff options
context:
space:
mode:
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2023-03-24 14:53:29 +0100
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2023-03-24 14:53:29 +0100
commit737a9edc888c0c5763c724ad565ae6bbe43bdbe5 (patch)
tree7f2a41b100696f72de4bee0324fc84a95bb719cc /src/basic/fs-util.c
parent2415a0c7aa1801c6080ba1b8e8d584d5eb0a8c01 (diff)
downloadsystemd-737a9edc888c0c5763c724ad565ae6bbe43bdbe5.tar.gz
fs-util: fix typo in comment
Diffstat (limited to 'src/basic/fs-util.c')
-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 7f1f90f4e9..b942abd477 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -807,7 +807,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