[glibc] sysdeps: Fix comment typos in sysdeps/unix/sysdep.h

Collin Funk via Glibc-cvs <[email protected]> Sat, 1 Aug 2026 18:57:06 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=04eeb808476291b32ce8bb28d50cf8e4c4676f84

commit 04eeb808476291b32ce8bb28d50cf8e4c4676f84
Author: Ryota Saito <[email protected]>
Date:   Sun Aug 2 02:23:38 2026 +0900

    sysdeps: Fix comment typos in sysdeps/unix/sysdep.h
    
    Fix grammar in the comments describing __SYSCALL_CANCEL_CALL and
    __INTERNAL_SYSCALL_CANCEL_CALL.
    
    Signed-off-by: Ryota Saito <[email protected]>
    Reviewed-by: Collin Funk <[email protected]>

Diff:
---
 sysdeps/unix/sysdep.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysdeps/unix/sysdep.h b/sysdeps/unix/sysdep.h
index a6ce5348ec..365c582296 100644
--- a/sysdeps/unix/sysdep.h
+++ b/sysdeps/unix/sysdep.h
@@ -199,8 +199,8 @@ long int __syscall_cancel (__syscall_arg_t arg1, __syscall_arg_t arg2,
 #define __SYSCALL_CANCEL_DISP(b,...) \
   __SYSCALL_CANCEL_CONCAT (b,__SYSCALL_CANCEL_NARGS(__VA_ARGS__))(__VA_ARGS__)
 
-/* Issue a cancellable syscall defined first argument plus any other argument
-   required.  If and error occurs its value, the macro returns -1 and sets
+/* Issue a cancellable syscall defined by the first argument plus any other
+   argument required.  If an error occurs, the macro returns -1 and sets
    errno accordingly.  */
 #define __SYSCALL_CANCEL_CALL(...) \
   __SYSCALL_CANCEL_DISP (__SYSCALL_CANCEL, __VA_ARGS__)
@@ -235,7 +235,7 @@ long int __syscall_cancel (__syscall_arg_t arg1, __syscall_arg_t arg2,
 			     __SSC (a7), __NR_##name)
 
 /* Issue a cancellable syscall defined by syscall number NAME plus any other
-   argument required.  If an error occurs its value is returned as an negative
+   argument required.  If an error occurs its value is returned as a negative
    number unmodified and errno is not set.  */
 #define __INTERNAL_SYSCALL_CANCEL_CALL(...) \
   __SYSCALL_CANCEL_DISP (__INTERNAL_SYSCALL_CANCEL, __VA_ARGS__)