From: Lennart Poettering Date: Fri, 21 May 2021 14:32:37 +0000 (+0200) Subject: fileio: fix typo in comment X-Git-Tag: v249-rc1~177^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=259f6de486d2516d341fa398ae221571362afe08;p=thirdparty%2Fsystemd.git fileio: fix typo in comment --- diff --git a/src/basic/fileio.c b/src/basic/fileio.c index cb8f5b0b184..778e74d22c9 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -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)