summaryrefslogtreecommitdiff
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-19 08:16:33 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-02-19 08:16:33 (GMT)
commit00ddd44cdad8142c6bb836efbfde9f38fa31b899 (patch)
tree2f63d403b697d076f0822778786629438dad3e1a
parent2f8a46032d4df70d4d42bff6738b64ae35bb42cf (diff)
downloadbusybox-00ddd44cdad8142c6bb836efbfde9f38fa31b899.zip
busybox-00ddd44cdad8142c6bb836efbfde9f38fa31b899.tar.gz
busybox-00ddd44cdad8142c6bb836efbfde9f38fa31b899.tar.bz2
fix typos in comments and doc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat
-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 a58931a..fdf6cfe 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 0461a5f..ef4c832 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;