diff options
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 | |||
75 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) | 75 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) |
76 | help | 76 | help |
77 | By adding module symbols to the kernel symbol table, Oops messages | 77 | By adding module symbols to the kernel symbol table, Oops messages |
78 | occuring within kernel modules can be properly debugged. By enabling | 78 | occurring within kernel modules can be properly debugged. By enabling |
79 | this feature, module symbols will always be added to the kernel symbol | 79 | this feature, module symbols will always be added to the kernel symbol |
80 | table for proper debugging support. If you are not interested in | 80 | table for proper debugging support. If you are not interested in |
81 | Oops messages from kernel modules, say N. | 81 | 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, | |||
104 | char *after_pattern; | 104 | char *after_pattern; |
105 | 105 | ||
106 | ptr = memchr(ptr, *pattern, len - (ptr - (char*)the_module)); | 106 | ptr = memchr(ptr, *pattern, len - (ptr - (char*)the_module)); |
107 | if (ptr == NULL) /* no occurance left, done */ | 107 | if (ptr == NULL) /* no occurrence left, done */ |
108 | break; | 108 | break; |
109 | after_pattern = is_prefixed_with(ptr, pattern); | 109 | after_pattern = is_prefixed_with(ptr, pattern); |
110 | if (after_pattern && *after_pattern == '=') { | 110 | 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) | |||
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 | } |