summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/ChangeLog5
-rw-r--r--console-client/console.c13
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 <ams@gnu.org>
+
+ * console.c (consnode_path): Renamed to ...
+ (console_node): ... this. Updated all references.
+
2005-01-06 Marco Gerards <metgerards@student.han.nl>
* 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 ();