aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/style-guide.txt2
-rw-r--r--scripts/kconfig/util.c2
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).
422Testing String Equivalence 422Testing String Equivalence
423~~~~~~~~~~~~~~~~~~~~~~~~~~ 423~~~~~~~~~~~~~~~~~~~~~~~~~~
424 424
425There's a right way and a wrong way to test for sting equivalence with 425There's a right way and a wrong way to test for string equivalence with
426strcmp(): 426strcmp():
427 427
428 The wrong way: 428 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)
57} 57}
58 58
59 59
60/* Allocate initial growable sting */ 60/* Allocate initial growable string */
61struct gstr str_new(void) 61struct gstr str_new(void)
62{ 62{
63 struct gstr gs; 63 struct gstr gs;