diff options
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r-- | modutils/modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 05b40c53f..35feaebf7 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -102,8 +102,8 @@ extern int modprobe_main(int argc, char** argv) | |||
102 | quiet ? "-q" : "", | 102 | quiet ? "-q" : "", |
103 | autoclean ? "-k" : ""); | 103 | autoclean ? "-k" : ""); |
104 | while (optind < argc) { | 104 | while (optind < argc) { |
105 | strcat(cmd, argv[optind]); | ||
106 | strcat(cmd, " "); | 105 | strcat(cmd, " "); |
106 | strcat(cmd, argv[optind]); | ||
107 | optind++; | 107 | optind++; |
108 | } | 108 | } |
109 | if (do_syslog) | 109 | if (do_syslog) |