diff options
author | Thomas Haller <thaller@redhat.com> | 2023-03-28 11:04:27 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-04-03 10:27:43 +0200 |
commit | f9c409d34cfd3a18b520fd5ddeb6693837fc7ffc (patch) | |
tree | d1927ec1dd8086c728549c946f1b8e6e9bca51b4 | |
parent | f74109e4b03f365ab72d7ff0035e264f38320e98 (diff) | |
download | NetworkManager-f9c409d34cfd3a18b520fd5ddeb6693837fc7ffc.tar.gz |
core: qualify logging lines related to helper with "nm-daemon-helper"
Seems to be the better name, because that is also the name of the
executable.
-rw-r--r-- | src/core/nm-core-utils.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/nm-core-utils.c b/src/core/nm-core-utils.c index 19027ef96f..e3538a5079 100644 --- a/src/core/nm-core-utils.c +++ b/src/core/nm-core-utils.c @@ -4877,7 +4877,7 @@ typedef struct { gsize out_buffer_offset; } HelperInfo; -#define _NMLOG2_PREFIX_NAME "helper" +#define _NMLOG2_PREFIX_NAME "nm-daemon-helper" #define _NMLOG2_DOMAIN LOGD_CORE #define _NMLOG2(level, info, ...) \ G_STMT_START \ @@ -4919,13 +4919,7 @@ helper_info_free(gpointer data) if (info->pid != -1) { nm_assert(info->pid > 1); - nm_utils_kill_child_async(info->pid, - SIGKILL, - LOGD_CORE, - _NMLOG2_PREFIX_NAME, - 0, - NULL, - NULL); + nm_utils_kill_child_async(info->pid, SIGKILL, LOGD_CORE, "nm-daemon-helper", 0, NULL, NULL); } g_free(info); |