aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe-small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 1654cc52d..63be9aadb 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -491,7 +491,7 @@ static int already_loaded(const char *name)
491 int ret = 0; 491 int ret = 0;
492 char *s; 492 char *s;
493 parser_t *parser = config_open2("/proc/modules", xfopen_for_read); 493 parser_t *parser = config_open2("/proc/modules", xfopen_for_read);
494 while (config_read(parser, &s, 1, 1, "# \t", 0)) { 494 while (config_read(parser, &s, 1, 1, "# \t", PARSE_NORMAL & ~PARSE_GREEDY)) {
495 if (strcmp(s, name) == 0) { 495 if (strcmp(s, name) == 0) {
496 ret = 1; 496 ret = 1;
497 break; 497 break;