This seems to be the offending line in /usr/src/sys/dev/kbd/kdb.c that
prevents the kernel from compiling.  Is it supposed to another case ? or is
it merely a duplicate ?

cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -DVM_STACK -include
opt_global.h -elf  ../../dev/kbd/kbd.c
../../dev/kbd/kbd.c: In function `genkbd_commonioctl':
../../dev/kbd/kbd.c:799: duplicate case value
../../dev/kbd/kbd.c:794: this is the first entry for that value
*** Error code 1

Stop.

        case KDGETREPEAT:       /* get keyboard repeat rate */ 
                ((int *)arg)[0] = kbd->kb_delay1;
                ((int *)arg)[1] = kbd->kb_delay2;
                break;
 
        case KDGETREPEAT:       /* get keyboard repeat rate */ 
                ((int *)arg)[0] = kbd->kb_delay1; 
                ((int *)arg)[1] = kbd->kb_delay2;
                break;
------------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Network Administrator,                            [EMAIL PROTECTED]
Sentex Communications                             www.sentex.net
Cambridge, Ontario Canada


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to