diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-01-29 01:16:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-01-29 01:16:17 +0000 |
commit | 0d8d203b374597fcb1276a6d9a671b9a1f33020c (patch) | |
tree | f6da72081a29b1fff3680910f437affac757ee5c /src/callproc.c | |
parent | 3eee65d2c5b3753e1dd197e9f2a3b19fd1513c3c (diff) | |
download | emacs-0d8d203b374597fcb1276a6d9a671b9a1f33020c.tar.gz |
Include stdio.h.
(init_callproc): Put non-ex-dir warnings on stderr.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 11 |
1 files changed, 7 insertions, 4 deletions
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 <signal.h> #include <errno.h> +#include <stdio.h> #include <config.h> @@ -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); } |