aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-12-16 07:19:14 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-11 20:36:24 +0530
commit98ea9372cc8d60b12aa33e007fdd5f5fb042a651 (patch)
tree86a90e6bbab57cb436ecf9a479312eaf36329649
parent536910724d30a38eeecd14cdbe2c93c78ea67646 (diff)
downloadglibc-98ea9372cc8d60b12aa33e007fdd5f5fb042a651.tar.xz
glibc-98ea9372cc8d60b12aa33e007fdd5f5fb042a651.zip
__glibc_unsafe_len: Fix comment
We know that the length is *unsafe*. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> (cherry picked from commit ae23fa3e5fe24daf94fc7f8e5268bb8ceeda7477)
-rw-r--r--misc/sys/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 4825ff0351..3bb9f38916 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -168,7 +168,7 @@
__s, __osz)) \
&& __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz))
-/* Conversely, we know at compile time that the length is safe if the
+/* Conversely, we know at compile time that the length is unsafe if the
__L * __S <= __OBJSZ condition can be folded to a constant and if it is
false. */
#define __glibc_unsafe_len(__l, __s, __osz) \