diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/loadparm.c | 3 | ||||
-rw-r--r-- | lib/param/param_functions.c | 1 | ||||
-rw-r--r-- | lib/param/param_table.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 6bebe0d335..d3bd85c013 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -93,8 +93,7 @@ static bool defaults_saved = false; char *tls_certfile; \ char *tls_cafile; \ char *tls_crlfile; \ - char *tls_dhpfile; \ - char *loglevel; + char *tls_dhpfile; #include "lib/param/param_global.h" diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 27eacf6f80..5c941143c6 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -413,3 +413,4 @@ FN_GLOBAL_STRING(username_map, username_map) FN_GLOBAL_STRING(usershare_path, usershare_path) FN_GLOBAL_STRING(wins_hook, wins_hook) FN_GLOBAL_STRING(usershare_template_share, usershare_template_share) +FN_GLOBAL_STRING(log_level, log_level) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 30222a9623..09e041bbea 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -1139,7 +1139,7 @@ static struct parm_struct parm_table[] = { .label = "log level", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(loglevel), + .offset = GLOBAL_VAR(log_level), .special = handle_debug_list, .enum_list = NULL, .flags = FLAG_ADVANCED, @@ -1148,7 +1148,7 @@ static struct parm_struct parm_table[] = { .label = "debuglevel", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(loglevel), + .offset = GLOBAL_VAR(log_level), .special = handle_debug_list, .enum_list = NULL, .flags = FLAG_HIDE, |