[pisa-src] r1046 - in trunk: pisacd pisand pisasd

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 08 Oct 2009 11:33:52 +0200

Author: tjansen
Date: Thu Oct  8 11:33:52 2009
New Revision: 1046

Log:
Tell the users which config file we are using.

Modified:
   trunk/pisacd/cdconf.c
   trunk/pisand/ndconf.c
   trunk/pisasd/sdconf.c

Modified: trunk/pisacd/cdconf.c
==============================================================================
--- trunk/pisacd/cdconf.c       Thu Oct  8 11:33:10 2009        (r1045)
+++ trunk/pisacd/cdconf.c       Thu Oct  8 11:33:52 2009        (r1046)
@@ -98,6 +98,8 @@
                PISA_ERROR("Cannot read the config file %s\n", 
cdconf->conffile);
                exit(EXIT_FAILURE);
        }
+
+       PISA_INFO("Using configuration file %s\n", cdconf->conffile);
 }
 
 /**

Modified: trunk/pisand/ndconf.c
==============================================================================
--- trunk/pisand/ndconf.c       Thu Oct  8 11:33:10 2009        (r1045)
+++ trunk/pisand/ndconf.c       Thu Oct  8 11:33:52 2009        (r1046)
@@ -109,6 +109,8 @@
                PISA_ERROR("Cannot read the config file %s\n", 
ndconf->conffile);
                exit(EXIT_FAILURE);
        }
+
+       PISA_INFO("Using configuration file %s\n", ndconf->conffile);
 }
 
 /**

Modified: trunk/pisasd/sdconf.c
==============================================================================
--- trunk/pisasd/sdconf.c       Thu Oct  8 11:33:10 2009        (r1045)
+++ trunk/pisasd/sdconf.c       Thu Oct  8 11:33:52 2009        (r1046)
@@ -104,6 +104,8 @@
                PISA_ERROR("Cannot read the config file %s\n", 
sdconf->conffile);
                exit(EXIT_FAILURE);
        }
+
+       PISA_INFO("Using configuration file %s\n", sdconf->conffile);
 }
 
 void sdconf_read_is_relay(sd_conf *sdconf)

Other related posts:

  • » [pisa-src] r1046 - in trunk: pisacd pisand pisasd - Thomas Jansen