From cc2742affd7433812e9a3b5407990700be8ebf55 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 18 Nov 2002 07:35:47 +0000 Subject: 2002-11-18 Marcus Brinkmann * console.c (main): Pass ERR to error invocation. * generic-speaker.c (generic_spaker_beep): Use currently active beep's next pointer, instead index 0. * pc-kbd.c: New global variables led_state and gnumach_v1_compat. (enum scancode): Change to set 2 encoding. (enum scancode_x1): Likewise. (enum scancode_x2): New type. (sc_to_kc): Change to set 2 encoding. (sc_x1_to_kc): Likewise. (sc_set1_to_set2): New variable. (sc_set1_to_set2_x1): Likewise. (gnumach_v1_input_next): New function. (update_leds): Likewise. (input_next): Likewise. (input_loop): Use input_next or gnumach_v1_input_next to read next key code. (pc_kbd_start): Add support for current GNU Mach @>=kbd interface. Call update_leds and toggle led_state. (pc_kbd_fini): Add support for current GNU Mach. (pc_kbd_set_scroll_lock_status): Toggle led_state and call update_leds. * vga-support.c (vga_init): Add support for current GNU Mach's I/O permission bitmap handling and its mem device. --- console-client/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client/console.c') diff --git a/console-client/console.c b/console-client/console.c index 32c7fc1e..34573580 100644 --- a/console-client/console.c +++ b/console-client/console.c @@ -442,7 +442,7 @@ main (int argc, char *argv[]) err = driver_start (&errname); if (err) - error (1, 0, "Starting driver %s failed", errname); + error (1, err, "Starting driver %s failed", errname); mutex_init (&global_lock); -- cgit v1.2.3