From b5365a3c2cdaa507c0af3edd30d9d597083606bc Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 2 Jan 2015 16:02:52 +0100 Subject: kern: Fix typos in comments (found by codespell) Signed-off-by: Stefan Weil --- kern/strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern/strings.c') diff --git a/kern/strings.c b/kern/strings.c index c77ae4f..e299534 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. */ -- cgit v1.2.3