summaryrefslogtreecommitdiff
path: root/kern/strings.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-02 16:02:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-02 20:10:01 +0100
commitb5365a3c2cdaa507c0af3edd30d9d597083606bc (patch)
tree888e4945f2832b67c15eb5289fc0ad7b3365949f /kern/strings.c
parent2c8514cfafb6daec4e76e3a8e0f1fd07ca0a4a33 (diff)
kern: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'kern/strings.c')
-rw-r--r--kern/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/strings.c b/kern/strings.c
index c77ae4fe..e299534a 100644
--- a/kern/strings.c
+++ b/kern/strings.c
@@ -50,7 +50,7 @@
* the contents are identical up to the length of s2.
* It returns < 0 if the first differing character is smaller
* in s1 than in s2 or if s1 is shorter than s2 and the
- * contents are identical upto the length of s1.
+ * contents are identical up to the length of s1.
*/
int __attribute__ ((pure))
@@ -157,7 +157,7 @@ strncpy(
/*
* Abstract:
- * strlen returns the number of characters in "string" preceeding
+ * strlen returns the number of characters in "string" preceding
* the terminating null character.
*/