summaryrefslogtreecommitdiff
path: root/modutils/modinfo.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-04-17 16:13:32 +0200
committerDenys Vlasenko2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /modutils/modinfo.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
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/modinfo.c')
-rw-r--r--modutils/modinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modinfo.c b/modutils/modinfo.c
index aa641ad..ead2cf1 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 == '=') {