summaryrefslogtreecommitdiff
path: root/source4/param/pyparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/pyparam.c')
-rw-r--r--source4/param/pyparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index e1ba18415d..cab009746d 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -74,7 +74,7 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
}
parm = lpcfg_parm_struct(param_name);
- if (parm == NULL || parm->pclass == P_GLOBAL) {
+ if (parm == NULL || parm->p_class == P_GLOBAL) {
return NULL;
}
parm_ptr = lpcfg_parm_ptr(lp_ctx, service, parm);