diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-07-11 08:34:22 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-07-11 08:34:22 -0400 |
commit | da7301e983c4ea294e301daf09dc02ca1f14fad9 (patch) | |
tree | 91e25860b05e411e147b976e95b85200c09473b3 /src/udev/udev-builtin-kmod.c | |
parent | b2cf1c7154577f7f8b9f2404c4a41019db314116 (diff) |
src/udev/udev-builtin-kmod.c: fix char *const declaration
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udev-builtin-kmod.c')
-rw-r--r-- | src/udev/udev-builtin-kmod.c | 4 |
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 } |