diff --git a/lustre/quota/quotacheck_test.c b/lustre/quota/quotacheck_test.c
index ff9963dbc53824875361590e820ded804bccf395..35ce5f906e6d413bc006c572778b98dda2932c88 100644
--- a/lustre/quota/quotacheck_test.c
+++ b/lustre/quota/quotacheck_test.c
@@ -204,7 +204,7 @@ static int __init quotacheck_test_init(void)
 {
         struct lprocfs_static_vars lvars = { 0 };
 
-        lprocfs_init_quotacheck_test_vars(&lvars);
+        lprocfs_quotacheck_test_init_vars(&lvars);
         return class_register_type(&quotacheck_obd_ops, NULL, lvars.module_vars,
                                    "quotacheck_test", NULL);
 }
diff --git a/lustre/quota/quotactl_test.c b/lustre/quota/quotactl_test.c
index 7a50deb2e5853cebdc2b21c388ef094f2a7fe286..09993c10def53f3be9bc65c1ac6c270504ee6e5f 100644
--- a/lustre/quota/quotactl_test.c
+++ b/lustre/quota/quotactl_test.c
@@ -344,7 +344,7 @@ static int __init quotactl_test_init(void)
 {
         struct lprocfs_static_vars lvars = { 0 };
 
-        lprocfs_init_quotactl_test_vars(&lvars);
+        lprocfs_quotactl_test_init_vars(&lvars);
         return class_register_type(&quotactl_obd_ops, NULL, lvars.module_vars,
                                    "quotactl_test", NULL);
 }