about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/canonicalize.c2
-rw-r--r--stdlib/fmtmsg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/canonicalize.c b/stdlib/canonicalize.c
index c4edb48734..762f1614f0 100644
--- a/stdlib/canonicalize.c
+++ b/stdlib/canonicalize.c
@@ -48,7 +48,7 @@ canonicalize (const char *name, char *resolved)
     {
       /* As per Single Unix Specification V2 we must return an error if
 	 either parameter is a null pointer.  We extend this to allow
-	 the RESOLVED parameter be NULL in case the we are expected to
+	 the RESOLVED parameter to be NULL in case the we are expected to
 	 allocate the room for the return value.  */
       __set_errno (EINVAL);
       return NULL;
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c
index 038c2aee37..126132d859 100644
--- a/stdlib/fmtmsg.c
+++ b/stdlib/fmtmsg.c
@@ -155,7 +155,7 @@ fmtmsg (long int classification, const char *label, int severity,
 		   do_action ? action : "",
 		   do_action && do_tag ? " " : "",
 		   do_tag ? tag : "") == EOF)
-	/* Oh, oh.  An error occured during the output.  */
+	/* Oh, oh.  An error occurred during the output.  */
 	result = MM_NOMSG;
     }