From 76d5c6cf01977e7ebae4d19afe7ca64786ab566c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 31 Oct 1996 17:57:43 +0000 Subject: [PATCH] (init_callproc): Use dir_warning. --- src/callproc.c | 16 ++++------------ 1 file 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*"); -- 2.39.2