mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 19:50:07 +01:00
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:
parent
f74109e4b0
commit
f9c409d34c
1 changed files with 2 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue