aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/strchr.c')
-rw-r--r--libiberty/strchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strchr.c b/libiberty/strchr.c
index c1306dc..6f327f2 100644
--- a/libiberty/strchr.c
+++ b/libiberty/strchr.c
@@ -5,7 +5,7 @@
@deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
-Returns a pointer to the first occurance of the character @var{c} in
+Returns a pointer to the first occurrence of the character @var{c} in
the string @var{s}, or NULL if not found. If @var{c} is itself the
null character, the results are undefined.