changeset 5688:a0f01b43a459

Include stdio.h. (init_callproc): Put non-ex-dir warnings on stderr.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Jan 1994 01:16:17 +0000
parents 2f22c0c6f021
children 4a3125e60737
files src/callproc.c
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Sat Jan 29 01:15:53 1994 +0000
+++ b/src/callproc.c	Sat Jan 29 01:16:17 1994 +0000
@@ -20,6 +20,7 @@
 
 #include <signal.h>
 #include <errno.h>
+#include <stdio.h>
 
 #include <config.h>
 
@@ -801,16 +802,18 @@
   tempdir = Fdirectory_file_name (Vexec_directory);
   if (access (XSTRING (tempdir)->data, 0) < 0)
     {
-      printf ("Warning: arch-dependent data dir (%s) does not exist.\n",
-	      XSTRING (Vexec_directory)->data);
+      fprintf (stderr,
+	       "Warning: arch-dependent data dir (%s) does not exist.\n",
+	       XSTRING (Vexec_directory)->data);
       sleep (2);
     }
 
   tempdir = Fdirectory_file_name (Vdata_directory);
   if (access (XSTRING (tempdir)->data, 0) < 0)
     {
-      printf ("Warning: arch-independent data dir (%s) does not exist.\n",
-	      XSTRING (Vdata_directory)->data);
+      fprintf (stderr,
+	       "Warning: arch-independent data dir (%s) does not exist.\n",
+	       XSTRING (Vdata_directory)->data);
       sleep (2);
     }