From: ayin Date: Thu, 19 Jan 2006 18:53:05 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8539b3c0a431b2093b92526c47e79b1fc3dd2045;p=dana%2Furxvt.git *** empty log message *** --- 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)