diff options
author | rcyeske <rcyeske> | 2001-03-08 00:17:07 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-03-08 00:17:07 +0000 |
commit | ff25f8d4eb5a4e623576d031d3a74d495079245d (patch) | |
tree | d77ee5a6d581e163abaee3b198905c4d9fbd03b7 | |
parent | 0d85f89fc5c610338ec2f1e823d63edb01ae7981 (diff) | |
download | ratpoison-ff25f8d4eb5a4e623576d031d3a74d495079245d.zip |
(read_startup_files): Use PRINT_DEBUG to report failure
to load rc files.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/main.c | 4 |
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 @@ -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"); } } |