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

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents bcdc7deadc19
children e04119814345
line wrap: on
line diff
--- a/src/console-stream.c	Mon Aug 13 08:48:43 2007 +0200
+++ b/src/console-stream.c	Mon Aug 13 08:49:20 2007 +0200
@@ -72,9 +72,9 @@
     {
       CHECK_STRING (tty);
       infd = outfd = errfd =
-	fopen ((char *) string_data (XSTRING (tty)), "r+");
+	fopen ((char *) XSTRING_DATA (tty), "r+");
       if (!infd)
-	error ("Unable to open tty %s", string_data (XSTRING (tty)));
+	error ("Unable to open tty %s", XSTRING_DATA (tty));
     }
 
   allocate_stream_console_struct (con);