summaryrefslogtreecommitdiff
path: root/src/io/config.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-12 11:56:55 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-12 11:56:55 -0400
commit9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2 (patch)
treeb1b1987a2471299e1ce630fc0842195b3ef3210e /src/io/config.c
parentremove direct call to addr in printing quad a for alpine support (diff)
downloadwrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.tar.gz
wrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.tar.bz2
wrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.zip
makefile install and uninstall, use different config path
Diffstat (limited to 'src/io/config.c')
-rw-r--r--src/io/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/config.c b/src/io/config.c
index bf9d96a..d6cb6c3 100644
--- a/src/io/config.c
+++ b/src/io/config.c
@@ -475,10 +475,11 @@ static void config_push_record(Record** buf, Record record, uint16_t* capacity,
bool load_config(const char* path, RecordMap* map) {
FILE* file = fopen(path, "r");
if (file == NULL) {
- ERROR("Failed to open file %s: %s", path, strerror(errno));
return false;
}
+ INFO("Using config file at path: %s", path);
+
line = 0;
record_map_init(map);