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.
This commit is contained in:
Thomas Haller
2023-03-28 11:04:27 +02:00
parent f74109e4b0
commit f9c409d34c

View File

@@ -4877,7 +4877,7 @@ typedef struct {
gsize out_buffer_offset; gsize out_buffer_offset;
} HelperInfo; } HelperInfo;
#define _NMLOG2_PREFIX_NAME "helper" #define _NMLOG2_PREFIX_NAME "nm-daemon-helper"
#define _NMLOG2_DOMAIN LOGD_CORE #define _NMLOG2_DOMAIN LOGD_CORE
#define _NMLOG2(level, info, ...) \ #define _NMLOG2(level, info, ...) \
G_STMT_START \ G_STMT_START \
@@ -4919,13 +4919,7 @@ helper_info_free(gpointer data)
if (info->pid != -1) { if (info->pid != -1) {
nm_assert(info->pid > 1); nm_assert(info->pid > 1);
nm_utils_kill_child_async(info->pid, nm_utils_kill_child_async(info->pid, SIGKILL, LOGD_CORE, "nm-daemon-helper", 0, NULL, NULL);
SIGKILL,
LOGD_CORE,
_NMLOG2_PREFIX_NAME,
0,
NULL,
NULL);
} }
g_free(info); g_free(info);