From 00ddd44cdad8142c6bb836efbfde9f38fa31b899 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 19 Feb 2010 09:16:33 +0100 Subject: fix typos in comments and doc Signed-off-by: Denys Vlasenko --- docs/style-guide.txt | 2 +- scripts/kconfig/util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/style-guide.txt b/docs/style-guide.txt index a58931ae7..fdf6cfe4d 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt @@ -422,7 +422,7 @@ called 'strings.c' - instead of two, food for thought). Testing String Equivalence ~~~~~~~~~~~~~~~~~~~~~~~~~~ -There's a right way and a wrong way to test for sting equivalence with +There's a right way and a wrong way to test for string equivalence with strcmp(): The wrong way: diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c index 0461a5f40..ef4c83228 100644 --- a/scripts/kconfig/util.c +++ b/scripts/kconfig/util.c @@ -57,7 +57,7 @@ int file_write_dep(const char *name) } -/* Allocate initial growable sting */ +/* Allocate initial growable string */ struct gstr str_new(void) { struct gstr gs; -- cgit v1.2.3