summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-10-31 17:57:43 +0000
committerRichard M. Stallman <rms@gnu.org>1996-10-31 17:57:43 +0000
commitb2e26f8c039765e53744d3c26d6ca47cfab31e7d (patch)
tree64deeef1f4ade5b8df99ce4b67b1b6193ac5562e
parentcd99ddcfbd4ac889d63f0623e091410e61382a99 (diff)
downloademacs-b2e26f8c039765e53744d3c26d6ca47cfab31e7d.tar.gz
(init_callproc): Use dir_warning.
-rw-r--r--src/callproc.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/callproc.c b/src/callproc.c
index ffff3f45531..8c41ef37121 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1083,21 +1083,13 @@ init_callproc ()
tempdir = Fdirectory_file_name (Vexec_directory);
if (access (XSTRING (tempdir)->data, 0) < 0)
- {
- fprintf (stderr,
- "Warning: arch-dependent data dir (%s) does not exist.\n",
- XSTRING (Vexec_directory)->data);
- sleep (2);
- }
+ dir_warning ("Warning: arch-dependent data dir (%s) does not exist.\n",
+ Vexec_directory);
tempdir = Fdirectory_file_name (Vdata_directory);
if (access (XSTRING (tempdir)->data, 0) < 0)
- {
- fprintf (stderr,
- "Warning: arch-independent data dir (%s) does not exist.\n",
- XSTRING (Vdata_directory)->data);
- sleep (2);
- }
+ dir_warning ("Warning: arch-independent data dir (%s) does not exist.\n",
+ Vdata_directory);
#ifdef VMS
Vshell_file_name = build_string ("*dcl*");