summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2001-03-08 00:17:07 +0000
committerrcyeske <rcyeske>2001-03-08 00:17:07 +0000
commitff25f8d4eb5a4e623576d031d3a74d495079245d (patch)
treed77ee5a6d581e163abaee3b198905c4d9fbd03b7 /src
parent0d85f89fc5c610338ec2f1e823d63edb01ae7981 (diff)
downloadratpoison-ff25f8d4eb5a4e623576d031d3a74d495079245d.zip
(read_startup_files): Use PRINT_DEBUG to report failure
to load rc files.
Diffstat (limited to 'src')
-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");
}
}