From de77aed56fde9c11981e684b44c3927e15d053ae Mon Sep 17 00:00:00 2001 From: "Alfred M. Szmidt" Date: Mon, 17 Jan 2005 02:00:00 +0000 Subject: 2005-01-10 Alfred M. Szmidt * console.c (consnode_path): Renamed to ... (console_node): ... this. Updated all references. --- console-client/ChangeLog | 5 +++++ console-client/console.c | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/console-client/ChangeLog b/console-client/ChangeLog index 11e21643..55968d42 100644 --- a/console-client/ChangeLog +++ b/console-client/ChangeLog @@ -1,3 +1,8 @@ +2005-01-10 Alfred M. Szmidt + + * console.c (consnode_path): Renamed to ... + (console_node): ... this. Updated all references. + 2005-01-06 Marco Gerards * Makefile (SRCS): Add `trans.c'. diff --git a/console-client/console.c b/console-client/console.c index ec518ddb..019ea3f1 100644 --- a/console-client/console.c +++ b/console-client/console.c @@ -57,8 +57,9 @@ static int saved_id = 0; /* The console, used to switch back. */ static cons_t saved_cons; -/* The pathname of the node on which the translator is set. */ -static char *consnode_path; +/* The file name of the node on which the console translator is + set. */ +static char *console_node; /* Callbacks for input source drivers. */ @@ -556,8 +557,8 @@ parse_opt (int key, char *arg, struct argp_state *state) break; case 'c': - consnode_path = arg ? arg : DEFAULT_CONSOLE_NODE; - if (!consnode_path) + console_node = arg ? arg : DEFAULT_CONSOLE_NODE; + if (!console_node) return ENOMEM; break; @@ -612,8 +613,8 @@ main (int argc, char *argv[]) error (1, err, "Timer thread initialization failed"); } - if (consnode_path) - console_setup_node (consnode_path); + if (console_node) + console_setup_node (console_node); cons_server_loop (); -- cgit v1.2.3