summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-10 13:51:28 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-07-10 13:51:28 -0400
commit5957c143c1b417f040527133daa86c7014822d2c (patch)
tree1477ef2e2755f8187786e525b2ba51c61957c76e /src
parentae66dd92e559c71a2100a4fbf2a4779f39859d10 (diff)
src/udev/udev-builtin-kmod.c: fix const char* declaration
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-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
}