]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fs-util: fix typo in comment
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 24 Mar 2023 13:53:29 +0000 (14:53 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 24 Mar 2023 13:53:29 +0000 (14:53 +0100)
src/basic/fs-util.c

index 7f1f90f4e9d4a048c4a8729016ca374ccee12437..b942abd477e1f00fb8979e3f27f31a950f48b6c4 100644 (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