From 0d8d203b374597fcb1276a6d9a671b9a1f33020c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 Jan 1994 01:16:17 +0000 Subject: Include stdio.h. (init_callproc): Put non-ex-dir warnings on stderr. --- src/callproc.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/callproc.c') diff --git a/src/callproc.c b/src/callproc.c index 77b97f55da3..69f2dc9e3c8 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -20,6 +20,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include +#include #include @@ -801,16 +802,18 @@ init_callproc () 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); } -- cgit v1.2.1