summaryrefslogtreecommitdiff
path: root/console-client/console.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-11-18 07:35:47 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-11-18 07:35:47 +0000
commitcc2742affd7433812e9a3b5407990700be8ebf55 (patch)
treeff289cebad4ce9210c668e7d10170d052c137886 /console-client/console.c
parentd75b31ece55771c9462336a0a31ae22c68d038c6 (diff)
2002-11-18 Marcus Brinkmann <marcus@gnu.org>
* 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.
Diffstat (limited to 'console-client/console.c')
-rw-r--r--console-client/console.c2
1 files changed, 1 insertions, 1 deletions
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);