diff options
author | Thomas Haller <thaller@redhat.com> | 2016-11-10 10:56:35 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-11-10 10:56:35 +0100 |
commit | 81d058b5e887ce13b646519c650f23ab933e5ab9 (patch) | |
tree | 444e1cdf5dae901880cc466ac514ba48d73872cf /src | |
parent | 60be9cbc9e9d93aaa3e7e749a39434128ba2d81a (diff) | |
download | NetworkManager-81d058b5e887ce13b646519c650f23ab933e5ab9.tar.gz |
team: log PID of died teamd instance
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/team/nm-device-team.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/team/nm-device-team.c b/src/devices/team/nm-device-team.c index 802714c45f..07ed092cba 100644 --- a/src/devices/team/nm-device-team.c +++ b/src/devices/team/nm-device-team.c @@ -464,7 +464,7 @@ teamd_process_watch_cb (GPid pid, gint status, gpointer user_data) g_return_if_fail (priv->teamd_process_watch); - _LOGD (LOGD_TEAM, "teamd died with status %d", status); + _LOGD (LOGD_TEAM, "teamd %lld died with status %d", (long long) pid, status); priv->teamd_pid = 0; priv->teamd_process_watch = 0; @@ -474,7 +474,7 @@ teamd_process_watch_cb (GPid pid, gint status, gpointer user_data) if (priv->teamd_timeout && (state >= NM_DEVICE_STATE_PREPARE) && (state <= NM_DEVICE_STATE_ACTIVATED)) { - _LOGW (LOGD_TEAM, "teamd process quit unexpectedly; failing activation"); + _LOGW (LOGD_TEAM, "teamd process %lld quit unexpectedly; failing activation", (long long) pid); teamd_cleanup (device, TRUE); nm_device_state_changed (device, NM_DEVICE_STATE_FAILED, NM_DEVICE_STATE_REASON_TEAMD_CONTROL_FAILED); } |