From 0d44ae267c71c3bb0975bd1e62a6c98078042cbf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 29 Dec 2011 10:57:24 +0100 Subject: [PATCH] xbps_init: print xhp->conffile if set in a dbg printf. --- lib/initend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/initend.c b/lib/initend.c index c4258696..51d393f7 100644 --- a/lib/initend.c +++ b/lib/initend.c @@ -137,6 +137,8 @@ xbps_init(struct xbps_handle *xh) return ENOTSUP; } } + xbps_dbg_printf("Configuration file: %s\n", + xhp->conffile ? xhp->conffile : "unset"); /* * Respect client setting in struct xbps_handle for {root,cache}dir; * otherwise use values from configuration file or defaults if unset.