Fix use of uninitialized pty_name.

This commit is contained in:
Pavel Roskin 2004-02-10 00:16:17 +00:00
parent 7eb0ef8bd2
commit b46fe283f6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}