]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
recurse-dir: remove stale comment
authorMike Yuan <me@yhndnzj.com>
Sun, 18 Jan 2026 22:09:09 +0000 (23:09 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 19 Jan 2026 02:06:30 +0000 (03:06 +0100)
Follow-up for 6393b847f459dba14d2b615ee93babb143168b57

src/basic/recurse-dir.c

index f7f8e4a7ab6191aa7715c284108b766e472e34a9..0efa731868e6f7b99381daf80b08187f54192ace 100644 (file)
@@ -36,8 +36,7 @@ int readdir_all(int dir_fd, RecurseDirFlags flags, DirectoryEntries **ret) {
 
         assert(dir_fd >= 0);
 
-        /* Returns an array with pointers to "struct dirent" directory entries, optionally sorted. Free the
-         * array with readdir_all_freep().
+        /* Returns an array with pointers to "struct dirent" directory entries, optionally sorted.
          *
          * Start with space for up to 8 directory entries. We expect at least 2 ("." + ".."), hence hopefully
          * 8 will cover most cases comprehensively. (Note that most likely a lot more entries will actually