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,
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 == '=') {