[PATCH] fix fallthrough from pccardctl ls
Colin Watson
cjwatson at debian.org
Mon Mar 27 06:05:04 EST 2006
'pccardctl ls' falls through to 'pccardctl insert'. This looks
unintentional, so this patch adds the missing 'break'.
=== modified file 'src/pccardctl.c'
--- src/pccardctl.c
+++ src/pccardctl.c
@@ -700,6 +700,7 @@
switch (cmd) {
case PCCARDCTL_LSPCMCIA:
ret = lspcmcia(cont, verbose);
+ break;
case PCCARDCTL_INSERT:
ret = pccardctl_echo_one(cont, "card_insert");
break;
Thanks,
--
Colin Watson [cjwatson at debian.org]
More information about the linux-pcmcia
mailing list