diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-17 16:13:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-17 16:13:32 +0200 |
commit | 10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch) | |
tree | 82312d6f38a517dcc7c0004f78d76c667f5a674b /modutils | |
parent | d85352b4ff51694cb35b429e4cef53302c9e7076 (diff) | |
download | busybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz |
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/Config.src | 2 | ||||
-rw-r--r-- | modutils/modinfo.c | 2 | ||||
-rw-r--r-- | modutils/modprobe-small.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index 5f0b0cec4..9b76c83d2 100644 --- a/modutils/Config.src +++ b/modutils/Config.src @@ -75,7 +75,7 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) help By adding module symbols to the kernel symbol table, Oops messages - occuring within kernel modules can be properly debugged. By enabling + occurring within kernel modules can be properly debugged. By enabling this feature, module symbols will always be added to the kernel symbol table for proper debugging support. If you are not interested in Oops messages from kernel modules, say N. diff --git a/modutils/modinfo.c b/modutils/modinfo.c index aa641ad54..ead2cf16f 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c @@ -104,7 +104,7 @@ static void modinfo(const char *path, const char *version, char *after_pattern; ptr = memchr(ptr, *pattern, len - (ptr - (char*)the_module)); - if (ptr == NULL) /* no occurance left, done */ + if (ptr == NULL) /* no occurrence left, done */ break; after_pattern = is_prefixed_with(ptr, pattern); if (after_pattern && *after_pattern == '=') { diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 1285783d0..053a7df89 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c @@ -169,7 +169,7 @@ static char* find_keyword(char *ptr, size_t len, const char *word) /* search for the first char in word */ ptr = memchr(ptr, word[0], len); - if (ptr == NULL) /* no occurance left, done */ + if (ptr == NULL) /* no occurrence left, done */ break; after_word = is_prefixed_with(ptr, word); if (after_word) @@ -411,7 +411,7 @@ static FAST_FUNC int fileAction(const char *pathname, if (load_module(pathname, module_load_options) == 0) { /* Load was successful, there is nothing else to do. * This can happen ONLY for "top-level" module load, - * not a dep, because deps dont do dirscan. */ + * not a dep, because deps don't do dirscan. */ exit(EXIT_SUCCESS); } } |