summaryrefslogtreecommitdiff
path: root/libiberty/strrchr.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-27 20:27:58 +0000
committerDJ Delorie <dj@delorie.com>2001-09-27 20:27:58 +0000
commita162569b0652c18ecdcdb77a14b388c05067c4db (patch)
tree6e3fea1bfb452f52113c9a21fc0ee1e3f6568eb6 /libiberty/strrchr.c
parent4666a5a22845b7e95321df0ca346fcf324062e39 (diff)
downloadgdb-a162569b0652c18ecdcdb77a14b388c05067c4db.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/strrchr.c')
-rw-r--r--libiberty/strrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strrchr.c b/libiberty/strrchr.c
index 70418009424..9dc31f2a159 100644
--- a/libiberty/strrchr.c
+++ b/libiberty/strrchr.c
@@ -5,7 +5,7 @@
@deftypefn Supplemental char* strrchr (const char *@var{s}, int @var{c})
-Returns a pointer to the last occurance of the character @var{c} in
+Returns a pointer to the last 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.