From bbc8e09dc8eb39b839bf1bc103144570aa40efce Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 20 Apr 2020 09:01:51 +0200 Subject: [PATCH] core: fix passing current enum value to nm_config_data_get_value() in _init_nm_debug() Fixes: c7d2e1f3bc97 ('config: drop nm_config_get_debug() and access config directly') --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index f1e9690fb2..72a9c4ca1d 100644 --- a/src/main.c +++ b/src/main.c @@ -102,7 +102,7 @@ _init_nm_debug (NMConfig *config) debug = nm_config_data_get_value (nm_config_get_data_orig (config), NM_CONFIG_KEYFILE_GROUP_MAIN, NM_CONFIG_KEYFILE_KEY_MAIN_DEBUG, - NM_MANAGER_RELOAD_FLAGS_NONE); + NM_CONFIG_GET_VALUE_NONE); flags = nm_utils_parse_debug_string (env, keys, G_N_ELEMENTS (keys)); flags |= nm_utils_parse_debug_string (debug, keys, G_N_ELEMENTS (keys));