diff src/console-tty.c @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 9ee227acff29
children 859a2309aef8
line wrap: on
line diff
--- a/src/console-tty.c	Mon Aug 13 08:48:43 2007 +0200
+++ b/src/console-tty.c	Mon Aug 13 08:49:20 2007 +0200
@@ -44,7 +44,6 @@
 Lisp_Object Qterminal_type;
 
 extern Lisp_Object Vstdio_str; /* in console-stream.c */
-
 
 static void
 allocate_tty_console_struct (struct console *con)
@@ -98,9 +97,9 @@
     }
   else
     {
-      infd = outfd = open ((char *) string_data (XSTRING (tty)), O_RDWR);
+      infd = outfd = open ((char *) XSTRING_DATA (tty), O_RDWR);
       if (infd < 0)
-	error ("Unable to open tty %s", string_data (XSTRING (tty)));
+	error ("Unable to open tty %s", XSTRING_DATA (tty));
       CONSOLE_TTY_DATA (con)->is_stdio = 0;
     }