]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fileio: fix typo in comment
authorLennart Poettering <lennart@poettering.net>
Fri, 21 May 2021 14:32:37 +0000 (16:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 May 2021 19:54:43 +0000 (21:54 +0200)
src/basic/fileio.c

index cb8f5b0b1841cfc228072629bbe92b638bcbbca8..778e74d22c90342e2e3877f2728fdad3a48fcbf3 100644 (file)
@@ -380,9 +380,9 @@ int read_virtual_file(const char *filename, size_t max_size, char **ret_contents
          * EOF. See issue #13585.
          *
          * max_size specifies a limit on the bytes read. If max_size is SIZE_MAX, the full file is read. If
-         * the the full file is too large to read, an error is returned. For other values of max_size,
-         * *partial contents* may be returned. (Though the read is still done using one syscall.)
-         * Returns 0 on partial success, 1 if untruncated contents were read. */
+         * the full file is too large to read, an error is returned. For other values of max_size, *partial
+         * contents* may be returned. (Though the read is still done using one syscall.) Returns 0 on
+         * partial success, 1 if untruncated contents were read. */
 
         fd = open(filename, O_RDONLY|O_CLOEXEC);
         if (fd < 0)