summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-builtin-kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c
index e2b97dbc4c..09c37691d1 100644
--- a/src/udev/udev-builtin-kmod.c
+++ b/src/udev/udev-builtin-kmod.c
@@ -68,7 +68,7 @@ static int load_module(struct udev *udev, const char *alias)
kmod_module_unref_list(list);
return err;
#else
- char * const argv[] = { MODPROBE, "-bq", alias, 0 };
+ const char * argv[] = { MODPROBE, "-bq", alias, 0 };
return execute_command(MODPROBE, argv);
#endif
}