summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/main.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a880de2..2d2f7f4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-07 Ryan Yeske <rcyeske@cut.hotdog.tmp>
+
+ * main.c (read_startup_files): Use PRINT_DEBUG to report failure
+ to load rc files.
+
2001-03-05 Ryan Yeske <rcyeske@cut.hotdog.tmp>
* actions.c: remove silly C,M,A,S,H #defines and propagate
diff --git a/src/main.c b/src/main.c
index 0342dbd..ee63f23 100644
--- a/src/main.c
+++ b/src/main.c
@@ -277,12 +277,12 @@ read_startup_files ()
if ((fileptr = fopen (filename, "r")) == NULL)
{
/* we probably don't need to report this, its not an error */
- fprintf (stderr, "ratpoison: could not open %s\n", filename);
+ PRINT_DEBUG ("ratpoison: could not open %s\n", filename);
if ((fileptr = fopen ("/etc/ratpoisonrc", "r")) == NULL)
{
/* neither is this */
- fprintf (stderr, "ratpoison: could not open /etc/ratpoisonrc\n");
+ PRINT_DEBUG ("ratpoison: could not open /etc/ratpoisonrc\n");
}
}