fs-util: fix typo in comment

This commit is contained in:
Antonio Alvarez Feijoo
2023-03-24 14:53:29 +01:00
parent 2415a0c7aa
commit 737a9edc88
+1 -1
View File
@@ -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