diff options
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r-- | modutils/modprobe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 09494ca5f..d6a9553d5 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -677,8 +677,8 @@ static int check_pattern(const char* pat_src, const char* mod_src) { | |||
677 | char* mod; | 677 | char* mod; |
678 | char* p; | 678 | char* p; |
679 | 679 | ||
680 | pat = xstrdup (pat_src); | 680 | pat = xstrdup(pat_src); |
681 | mod = xstrdup (mod_src); | 681 | mod = xstrdup(mod_src); |
682 | 682 | ||
683 | for (p = pat; (p = strchr(p, '-')); *p++ = '_'); | 683 | for (p = pat; (p = strchr(p, '-')); *p++ = '_'); |
684 | for (p = mod; (p = strchr(p, '-')); *p++ = '_'); | 684 | for (p = mod; (p = strchr(p, '-')); *p++ = '_'); |