summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-11 08:34:22 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-07-11 08:34:22 -0400
commitda7301e983c4ea294e301daf09dc02ca1f14fad9 (patch)
tree91e25860b05e411e147b976e95b85200c09473b3 /src
parentb2cf1c7154577f7f8b9f2404c4a41019db314116 (diff)
src/udev/udev-builtin-kmod.c: fix char *const declaration
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/udev/udev-builtin-kmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c
index 09c37691d1..6fdd8aac4e 100644
--- a/src/udev/udev-builtin-kmod.c
+++ b/src/udev/udev-builtin-kmod.c
@@ -68,8 +68,8 @@ static int load_module(struct udev *udev, const char *alias)
kmod_module_unref_list(list);
return err;
#else
- const char * argv[] = { MODPROBE, "-bq", alias, 0 };
- return execute_command(MODPROBE, argv);
+ char *const argv[] = { MODPROBE, "-bq", alias, 0 };
+ return execute_command(MODPROBE, argv);
#endif
}