Make op parameter to mux_keyboard() u_int instead of int.
This should fix sparc64 messages like Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45 PR: sparc64/96798 MFC after: 1 week
This commit is contained in:
parent
679f8b7e7a
commit
eb65c05e44
@ -130,7 +130,7 @@ void print_key_definition_line(FILE *fp, int scancode,
|
||||
struct keyent_t *key);
|
||||
void print_keymap(void);
|
||||
void release_keyboard(void);
|
||||
void mux_keyboard(int op, char *kbd);
|
||||
void mux_keyboard(u_int op, char *kbd);
|
||||
void set_bell_values(char *opt);
|
||||
void set_functionkey(char *keynumstr, char *string);
|
||||
void set_keyboard(char *device);
|
||||
@ -1082,7 +1082,7 @@ release_keyboard(void)
|
||||
}
|
||||
|
||||
void
|
||||
mux_keyboard(int op, char *kbd)
|
||||
mux_keyboard(u_int op, char *kbd)
|
||||
{
|
||||
keyboard_info_t info;
|
||||
char *unit, *ep;
|
||||
|
Loading…
x
Reference in New Issue
Block a user