diff options
Diffstat (limited to 'libio/strops.c')
-rw-r--r-- | libio/strops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/strops.c b/libio/strops.c index 7e523ad710..b5c850b626 100644 --- a/libio/strops.c +++ b/libio/strops.c @@ -38,7 +38,7 @@ _IO_str_init_static_internal (_IO_strfile *sf, char *ptr, size_t size, char *end; if (size == 0) - end = __rawmemchr (ptr, '\0'); + end = strchr (ptr, '\0'); else if ((size_t) ptr + size > (size_t) ptr) end = ptr + size; else |