XEmacs 21.2.13
[chise/xemacs-chise.git.1] / src / print.c
index a32b249..663e3c4 100644 (file)
@@ -1461,9 +1461,9 @@ the output also will be logged to this file.
       if (DEVICE_TTY_P (XDEVICE (device)))
        file = 0;
       else if (!NILP (stdout_p))
-       file = CONSOLE_STREAM_DATA (con)->outfd;
+       file = CONSOLE_STREAM_DATA (con)->out;
       else
-       file = CONSOLE_STREAM_DATA (con)->errfd;
+       file = CONSOLE_STREAM_DATA (con)->err;
     }
 
   if (STRINGP (char_or_string))