aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe-small.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /modutils/modprobe-small.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
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/modprobe-small.c')
-rw-r--r--modutils/modprobe-small.c4
1 files changed, 2 insertions, 2 deletions
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)
169 169
170 /* search for the first char in word */ 170 /* search for the first char in word */
171 ptr = memchr(ptr, word[0], len); 171 ptr = memchr(ptr, word[0], len);
172 if (ptr == NULL) /* no occurance left, done */ 172 if (ptr == NULL) /* no occurrence left, done */
173 break; 173 break;
174 after_word = is_prefixed_with(ptr, word); 174 after_word = is_prefixed_with(ptr, word);
175 if (after_word) 175 if (after_word)
@@ -411,7 +411,7 @@ static FAST_FUNC int fileAction(const char *pathname,
411 if (load_module(pathname, module_load_options) == 0) { 411 if (load_module(pathname, module_load_options) == 0) {
412 /* Load was successful, there is nothing else to do. 412 /* Load was successful, there is nothing else to do.
413 * This can happen ONLY for "top-level" module load, 413 * This can happen ONLY for "top-level" module load,
414 * not a dep, because deps dont do dirscan. */ 414 * not a dep, because deps don't do dirscan. */
415 exit(EXIT_SUCCESS); 415 exit(EXIT_SUCCESS);
416 } 416 }
417 } 417 }