From 71b5cc3682ac04faa0f19e79dc5fbda4619c32d1 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 6 Oct 2017 11:45:38 +0200 Subject: [PATCH] device: reword logging line about device's state change The line device (wlan0): state change: ip-config -> ip-check (reason none, internal state managed) prints the sys-iface-state, which is at other places logged with device[0x55914506ed70] (wlan0): sys-iface-state: external -> managed For consistency, name the same parameter the same. --- src/devices/nm-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 867b387e25..432a11caa1 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -12796,7 +12796,7 @@ _set_state_full (NMDevice *self, if ( (priv->state == state) && ( state != NM_DEVICE_STATE_UNAVAILABLE || !priv->firmware_missing)) { - _LOGD (LOGD_DEVICE, "state change: %s -> %s (reason '%s', internal state '%s'%s)", + _LOGD (LOGD_DEVICE, "state change: %s -> %s (reason '%s', sys-iface-state: '%s'%s)", nm_device_state_to_str (old_state), nm_device_state_to_str (state), reason_to_string (reason), @@ -12805,7 +12805,7 @@ _set_state_full (NMDevice *self, return; } - _LOGI (LOGD_DEVICE, "state change: %s -> %s (reason '%s', internal state '%s')", + _LOGI (LOGD_DEVICE, "state change: %s -> %s (reason '%s', sys-iface-state: '%s')", nm_device_state_to_str (old_state), nm_device_state_to_str (state), reason_to_string (reason),