aboutsummaryrefslogtreecommitdiff
path: root/modutils/modinfo.c
diff options
context:
space:
mode:
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 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 == '=') {