summaryrefslogtreecommitdiff
path: root/string/strtok.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-22 07:04:23 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-22 07:04:23 +0000
commit682e4437a0784a917bc2df89a6b7d5cbfdefc8a0 (patch)
tree4ab183a381efde9b07e81d2ae5b87f121357c0a6 /string/strtok.c
parent7d55c9eb43b69bf515f7ea7f828dc0edb9d4f501 (diff)
downloadglibc-682e4437a0784a917bc2df89a6b7d5cbfdefc8a0.tar.gz
[BZ #4582]
* debug/segfault.c: Fix typos in comments.
Diffstat (limited to 'string/strtok.c')
-rw-r--r--string/strtok.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/string/strtok.c b/string/strtok.c
index f45b760f74..9d6bb06779 100644
--- a/string/strtok.c
+++ b/string/strtok.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1996,1997,1999,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1996,1997,1999,2000,2001,2007
+ 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
@@ -30,7 +31,7 @@ static char *olds;
x = strtok(s, "-"); // x = "abc"
x = strtok(NULL, "-="); // x = "def"
x = strtok(NULL, "="); // x = NULL
- // s = "abc\0-def\0"
+ // s = "abc\0=-def\0"
*/
char *
strtok (s, delim)