changeset 16486:30b8c014eaa7

(init_callproc): Use dir_warning.
author Richard M. Stallman <rms@gnu.org>
date Thu, 31 Oct 1996 17:57:43 +0000
parents 9b919c5464a4
children 8e154ff6d4bf
files src/callproc.c
diffstat 1 files changed, 4 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Thu Oct 31 13:43:37 1996 +0000
+++ b/src/callproc.c	Thu Oct 31 17:57:43 1996 +0000
@@ -1083,21 +1083,13 @@
 
   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*");