aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/strtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strtok.c')
-rw-r--r--sysdeps/generic/strtok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/strtok.c b/sysdeps/generic/strtok.c
index b366653cb3..6aeeb5a646 100644
--- a/sysdeps/generic/strtok.c
+++ b/sysdeps/generic/strtok.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -52,7 +52,7 @@ strtok (s, delim)
s = strpbrk (token, delim);
if (s == NULL)
/* This token finishes the string. */
- olds = strchr (token, '\0');
+ olds = __rawmemchr (token, '\0');
else
{
/* Terminate the token and make OLDS point past it. */