about summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index eb3b404..d328f52 100644
--- a/conf.c
+++ b/conf.c
@@ -157,9 +157,9 @@ conf_init(struct conf *c)
 }
 
 void
-conf_setup(struct conf *c, const char *conffile)
+conf_setup(struct conf *c, const char *conf_file)
 {
-	if (conffile == NULL) {
+	if (conf_file == NULL) {
 		char *home = getenv("HOME");
 
 		if (home == NULL)
@@ -168,7 +168,7 @@ conf_setup(struct conf *c, const char *conffile)
 		snprintf(c->conf_path, sizeof(c->conf_path), "%s/%s", home,
 		    CONFFILE);
 	} else
-		snprintf(c->conf_path, sizeof(c->conf_path), "%s", conffile);
+		snprintf(c->conf_path, sizeof(c->conf_path), "%s", conf_file);
 
 	conf_init(c);