summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 18:37:14 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 18:37:14 +0000
commitd59cd149b137b166b119fa3885d635e5a5bbcca7 (patch)
treeff68bf0138a9bc6e5f6e8e855d3930621ef58064
parent114615143847c3f9fe57bf6f30f553a2ac34b11e (diff)
downloaddrakx-d59cd149b137b166b119fa3885d635e5a5bbcca7.tar
drakx-d59cd149b137b166b119fa3885d635e5a5bbcca7.tar.gz
drakx-d59cd149b137b166b119fa3885d635e5a5bbcca7.tar.bz2
drakx-d59cd149b137b166b119fa3885d635e5a5bbcca7.tar.xz
drakx-d59cd149b137b166b119fa3885d635e5a5bbcca7.zip
make probe-modules handle the "--usb" option instead of "usb"
-rw-r--r--mdk-stage1/probe-modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probe-modules.c b/mdk-stage1/probe-modules.c
index 55ff7df1d..1b5c8f2db 100644
--- a/mdk-stage1/probe-modules.c
+++ b/mdk-stage1/probe-modules.c
@@ -39,7 +39,7 @@ void fatal_error(char *msg)
int main(int argc, char **argv, char **env)
{
enum media_bus bus = BUS_ANY;
- if (argc > 1 && streq(argv[1], "usb")) {
+ if (argc > 1 && streq(argv[1], "--usb")) {
bus = BUS_USB;
}
open_log();