aboutsummaryrefslogtreecommitdiff
path: root/modutils/modutils-24.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modutils-24.c')
-rw-r--r--modutils/modutils-24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modutils-24.c b/modutils/modutils-24.c
index 12cb75c54..fe46fc3fd 100644
--- a/modutils/modutils-24.c
+++ b/modutils/modutils-24.c
@@ -2255,7 +2255,7 @@ static int add_symbols_from(struct obj_file *f,
2255 * symbols so they cannot fudge it by adding the prefix on 2255 * symbols so they cannot fudge it by adding the prefix on
2256 * their references. 2256 * their references.
2257 */ 2257 */
2258 if (strncmp((char *)s->name, "GPLONLY_", 8) == 0) { 2258 if (is_prefixed_with((char *)s->name, "GPLONLY_")) {
2259#if ENABLE_FEATURE_CHECK_TAINTED_MODULE 2259#if ENABLE_FEATURE_CHECK_TAINTED_MODULE
2260 if (gpl) 2260 if (gpl)
2261 s->name += 8; 2261 s->name += 8;