Add some additional debug logging.

This commit is contained in:
Nicholas Marriott
2013-03-25 10:06:13 +00:00
parent e9cef8bf30
commit ebd9c615c8
2 changed files with 12 additions and 2 deletions

1
cfg.c
View File

@ -41,6 +41,7 @@ load_cfg(const char *path, struct cmd_q *cmdq, char **cause)
size_t len, oldlen;
struct cmd_list *cmdlist;
log_debug("loading %s", path);
if ((f = fopen(path, "rb")) == NULL) {
xasprintf(cause, "%s: %s", path, strerror(errno));
return (-1);