From b46fe283f682dd5ffc1426a63466c944c3a3731f Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 10 Feb 2004 00:16:17 +0000 Subject: [PATCH] Fix use of uninitialized pty_name. --- src/subshell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subshell.c b/src/subshell.c index a17188712..39ec86e06 100644 --- a/src/subshell.c +++ b/src/subshell.c @@ -384,8 +384,8 @@ init_subshell (void) subshell_pty = pty_open_master (pty_name); if (subshell_pty == -1) { - fprintf (stderr, "Cannot open master side of pty (%s): %s\r\n", - pty_name, unix_error_string (errno)); + fprintf (stderr, "Cannot open master side of pty: %s\r\n", + unix_error_string (errno)); use_subshell = FALSE; return; }