diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-07-10 13:51:28 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-07-10 13:51:28 -0400 |
commit | 5957c143c1b417f040527133daa86c7014822d2c (patch) | |
tree | 1477ef2e2755f8187786e525b2ba51c61957c76e | |
parent | ae66dd92e559c71a2100a4fbf2a4779f39859d10 (diff) |
src/udev/udev-builtin-kmod.c: fix const char* declaration
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | src/udev/udev-builtin-kmod.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index ab23f32119..f523ba12d7 100644 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,10 @@ docs/libudev/version.xml docs/gudev/gudev-overrides.txt docs/libudev/libudev-overrides.txt man/udev.7 +man/udevd.8 man/udevadm.8 +rule_generator/write_cd_rules +rule_generator/write_net_rules src/accelerometer/accelerometer src/ata_id/ata_id 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 } |