diff --git a/contribs/perlapi/libslurm-perl/conf.c b/contribs/perlapi/libslurm-perl/conf.c
index 97867e278e25686c6fba052ad5a7a6a7d79b8aeb..a4a2e91ea29fc7203ab9eaf5ce5a825505726c1f 100644
--- a/contribs/perlapi/libslurm-perl/conf.c
+++ b/contribs/perlapi/libslurm-perl/conf.c
@@ -42,17 +42,17 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
 	if(conf->job_acct_gather_type)
 		STORE_FIELD(hv, conf, job_acct_gather_type, charp);
 	STORE_FIELD(hv, conf, job_acct_gather_freq, uint16_t);
-	if(conf->acct_storage_loc)
-		STORE_FIELD(hv, conf, acct_storage_loc, charp);
-	if(conf->acct_storage_type)
-		STORE_FIELD(hv, conf, acct_storage_type, charp);
-	if(conf->acct_storage_user)
-		STORE_FIELD(hv, conf, acct_storage_user, charp);
-	if(conf->acct_storage_host)
-		STORE_FIELD(hv, conf, acct_storage_host, charp);
-	if(conf->acct_storage_pass)
-		STORE_FIELD(hv, conf, acct_storage_pass, charp);
-	STORE_FIELD(hv, conf, acct_storage_port, uint32_t);
+	if(conf->accounting_storage_loc)
+		STORE_FIELD(hv, conf, accounting_storage_loc, charp);
+	if(conf->accounting_storage_type)
+		STORE_FIELD(hv, conf, accounting_storage_type, charp);
+	if(conf->accounting_storage_user)
+		STORE_FIELD(hv, conf, accounting_storage_user, charp);
+	if(conf->accounting_storage_host)
+		STORE_FIELD(hv, conf, accounting_storage_host, charp);
+	if(conf->accounting_storage_pass)
+		STORE_FIELD(hv, conf, accounting_storage_pass, charp);
+	STORE_FIELD(hv, conf, accounting_storage_port, uint32_t);
 	if(conf->job_comp_loc)
 		STORE_FIELD(hv, conf, job_comp_loc, charp);
 	if(conf->job_comp_type)