summaryrefslogtreecommitdiffstats
path: root/libc/bionic/__read_chk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/__read_chk.cpp')
-rw-r--r--libc/bionic/__read_chk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/__read_chk.cpp b/libc/bionic/__read_chk.cpp
index 9de99c1..ff50983 100644
--- a/libc/bionic/__read_chk.cpp
+++ b/libc/bionic/__read_chk.cpp
@@ -32,11 +32,11 @@
extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) {
if (__predict_false(count > buf_size)) {
- __fortify_chk_fail("read prevented write past end of buffer", 0);
+ __fortify_chk_fail("read: prevented write past end of buffer", 0);
}
if (__predict_false(count > SSIZE_MAX)) {
- __fortify_chk_fail("read count > SSIZE_MAX", 0);
+ __fortify_chk_fail("read: count > SSIZE_MAX", 0);
}
return read(fd, buf, count);