aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/examples/argp-ex2.c2
-rw-r--r--manual/string.texi2
2 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c
index 66eed95dec..313c6819a2 100644
--- a/manual/examples/argp-ex2.c
+++ b/manual/examples/argp-ex2.c
@@ -15,7 +15,7 @@
but not in this small program). There are also two global
variables that argp knows about defined here,
ARGP_PROGRAM_VERSION and ARGP_PROGRAM_BUG_ADDRESS (they are
- global variables becuase they will almost always be constant
+ global variables because they will almost always be constant
for a given program, even if it uses different argument
parsers for various tasks). */
diff --git a/manual/string.texi b/manual/string.texi
index 66e9d61598..872916b660 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -2137,7 +2137,7 @@ token = strsep (&running, delimiters); /* token => NULL */
@comment GNU
@deftypefun {char *} basename (const char *@var{filename})
The GNU version of the @code{basename} function returns the last
-component of the path in @var{filename}. This function is the prefered
+component of the path in @var{filename}. This function is the preferred
usage, since it does not modify the argument, @var{filename}, and
respects trailing slashes. The prototype for @code{basename} can be
found in @file{string.h}. Note, this function is overriden by the XPG