aboutsummaryrefslogtreecommitdiff
path: root/modutils/modinfo.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-05-29 14:20:10 +0100
committerRon Yorston <rmy@pobox.com>2017-05-29 14:34:28 +0100
commitda4f331955bed8afda670afcd58d524a04a0faa9 (patch)
treef6a3879aefdd714240f8c022375f687b512d2238 /modutils/modinfo.c
parent74163a535fd21f5fcca4c052d2e7c192d3e264fa (diff)
parent6683d1cbb44859f549f87f882545b84b9369585c (diff)
downloadbusybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.gz
busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.bz2
busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.zip
Merge branch 'busybox' into merge
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 == '=') {