[ofw] [PATCH 03/11] dat: reduce debug message level when parsing for location of dat.conf

Davis, Arlin R arlin.r.davis at intel.com
Fri Oct 16 16:48:46 PDT 2009


Don't output failover to default /etc/dat.conf from
sysconfdir at ERROR level. Reduce to DAT_OS_DBG_TYPE_SR.

Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 dat/udat/udat_sr_parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dat/udat/udat_sr_parser.c b/dat/udat/udat_sr_parser.c
index 126fb9f..3b5caef 100644
--- a/dat/udat/udat_sr_parser.c
+++ b/dat/udat/udat_sr_parser.c
@@ -239,7 +239,7 @@ DAT_RETURN dat_sr_load(void)
 		sr_file = dat_os_fopen(sr_path);
 		if (sr_file == NULL) {
 #ifdef DAT_CONF
-			dat_os_dbg_print(DAT_OS_DBG_TYPE_ERROR,
+			dat_os_dbg_print(DAT_OS_DBG_TYPE_SR,
 					 "DAT Registry: sysconfdir, "
 					 "bad filename - %s, retry default at %s\n",
 					 sr_path, DAT_SR_CONF_DEFAULT);
-- 
1.5.2.5




More information about the ofw mailing list