From 836e81d0195c519ac214f0f7119de8fdf8db1f5c Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 16 Jun 2023 11:55:07 -0700 Subject: [PATCH] _FILE_OFFSET_BITS is spelled with one underscore. Test: treehugger Change-Id: Ic21082ffa1083b63a95514dcd7f2d9e23f84c9b0 --- libc/include/bits/lockf.h | 2 +- libc/include/sys/sendfile.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/include/bits/lockf.h b/libc/include/bits/lockf.h index 58ab03113..ec6e53cfe 100644 --- a/libc/include/bits/lockf.h +++ b/libc/include/bits/lockf.h @@ -60,7 +60,7 @@ int lockf(int __fd, int __cmd, off_t __length) __RENAME_IF_FILE_OFFSET64(lockf64 /** * Like lockf() but allows using a 64-bit length - * even from a 32-bit process without `__FILE_OFFSET_BITS=64`. + * even from a 32-bit process without `_FILE_OFFSET_BITS=64`. */ int lockf64(int __fd, int __cmd, off64_t __length) __INTRODUCED_IN(24); diff --git a/libc/include/sys/sendfile.h b/libc/include/sys/sendfile.h index 4b00d5dc8..f953473fd 100644 --- a/libc/include/sys/sendfile.h +++ b/libc/include/sys/sendfile.h @@ -55,7 +55,7 @@ ssize_t sendfile(int __out_fd, int __in_fd, off_t* _Nullable __offset, size_t __ /** * Like sendfile() but allows using a 64-bit offset - * even from a 32-bit process without `__FILE_OFFSET_BITS=64`. + * even from a 32-bit process without `_FILE_OFFSET_BITS=64`. */ ssize_t sendfile64(int __out_fd, int __in_fd, off64_t* _Nullable __offset, size_t __count) __INTRODUCED_IN(21);