summaryrefslogtreecommitdiff
path: root/console-client/console.c
diff options
context:
space:
mode:
authorAlfred M. Szmidt <ams@gnu.org>2005-01-17 02:00:00 +0000
committerAlfred M. Szmidt <ams@gnu.org>2005-01-17 02:00:00 +0000
commitde77aed56fde9c11981e684b44c3927e15d053ae (patch)
treeb93e08ae6c33c910daa46016e61f6c165c2cef94 /console-client/console.c
parent958c7b473969994407f2a7c11700a34f976920b6 (diff)
2005-01-10 Alfred M. Szmidt <ams@gnu.org>
* console.c (consnode_path): Renamed to ... (console_node): ... this. Updated all references.
Diffstat (limited to 'console-client/console.c')
-rw-r--r--console-client/console.c13
1 files changed, 7 insertions, 6 deletions
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 ();