diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index e284bd27f0f..e5b8f85591c 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -48,7 +48,7 @@ FN_LOCAL_INTEGER(force_create_mode, force_create_mode) FN_LOCAL_INTEGER(dir_mask, dir_mask) FN_LOCAL_INTEGER(force_dir_mode, force_dir_mode) FN_LOCAL_STRING(preexec, preexec) -FN_LOCAL_STRING(postexec, szPostExec) +FN_LOCAL_STRING(postexec, postexec) FN_LOCAL_STRING(rootpreexec, szRootPreExec) FN_LOCAL_STRING(rootpostexec, szRootPostExec) FN_LOCAL_STRING(dontdescend, szDontdescend) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 1e20fcdcefe..550c5cd00a9 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3589,7 +3589,7 @@ static struct parm_struct parm_table[] = { .label = "postexec", .type = P_STRING, .p_class = P_LOCAL, - .offset = LOCAL_VAR(szPostExec), + .offset = LOCAL_VAR(postexec), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 25a93e84d33..dc1edb3352d 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -154,7 +154,7 @@ static struct loadparm_service sDefault = .szCopy = NULL, .szInclude = NULL, .preexec = NULL, - .szPostExec = NULL, + .postexec = NULL, .szRootPreExec = NULL, .szRootPostExec = NULL, .szCupsOptions = NULL,