mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 00:00:08 +01:00
core: fix queued state change debug message
Show the actual ID, not 0.
This commit is contained in:
parent
366ac3c5a2
commit
50a9cfd8f7
1 changed files with 1 additions and 2 deletions
|
|
@ -4384,12 +4384,11 @@ queued_set_state (gpointer user_data)
|
|||
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
|
||||
|
||||
if (priv->queued_state.id) {
|
||||
priv->queued_state.id = 0;
|
||||
|
||||
nm_log_dbg (LOGD_DEVICE, "(%s): running queued state change to %s (id %d)",
|
||||
nm_device_get_iface (self),
|
||||
state_to_string (priv->queued_state.state),
|
||||
priv->queued_state.id);
|
||||
priv->queued_state.id = 0;
|
||||
nm_device_state_changed (self, priv->queued_state.state, priv->queued_state.reason);
|
||||
}
|
||||
queued_state_clear (self);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue