From 8539b3c0a431b2093b92526c47e79b1fc3dd2045 Mon Sep 17 00:00:00 2001 From: ayin Date: Thu, 19 Jan 2006 18:53:05 +0000 Subject: [PATCH] *** empty log message *** --- src/ptytty.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptytty.C b/src/ptytty.C index 7734e8c4..66832273 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -103,7 +103,7 @@ get_pty_openpty (int *fd_tty, char **ttydev) #ifdef PTYS_ARE_OPENPTY int pfd; int res; - char tty_name[sizeof "/dev/pts/????\0"]; + char tty_name[32]; res = openpty (&pfd, fd_tty, tty_name, NULL, NULL); if (res != -1) -- 2.34.1