diff --git a/src/common/jobacct_common.c b/src/common/jobacct_common.c
index 5bac311b52f7f884df80d00989222a296177ae7b..987d71a77d4f29b37fd784a3042616f23093fb60 100644
--- a/src/common/jobacct_common.c
+++ b/src/common/jobacct_common.c
@@ -252,7 +252,7 @@ extern int jobacct_common_getinfo(struct jobacctinfo *jobacct,
 		*uint32 = jobacct->tot_cpu;
 		break;
 	default:
-		debug("jobacct_g_set_setinfo data_type %d invalid", type);
+		debug("jobacct_g_set_getinfo data_type %d invalid", type);
 	}
 	slurm_mutex_unlock(&jobacct_lock);
 	return rc;