aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r--modutils/modprobe.c2
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)
quiet ? "-q" : "",
autoclean ? "-k" : "");
while (optind < argc) {
- strcat(cmd, argv[optind]);
strcat(cmd, " ");
+ strcat(cmd, argv[optind]);
optind++;
}
if (do_syslog)