summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-06-07 23:22:04 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-06-24 18:20:47 +0200
commitedbf766e96332656fca5e3fe7ee86fb4597a6d55 (patch)
tree2fbbc902816864d7ceb82575fb83d8f4bb3a599f
parentc4e6dd71a531605b19e288c7d1800650b3b6c4c3 (diff)
downloadNetworkManager-edbf766e96332656fca5e3fe7ee86fb4597a6d55.tar.gz
manager: log the address, not the path of the master active connection
The connection might not be exported on D-Bus at that point yet and thus shows up as (null) in logs, which is not too helpful.
-rw-r--r--src/nm-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index f5f4ba80d6..76ffc72aed 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -2696,9 +2696,9 @@ _internal_activate_device (NMManager *self, NMActiveConnection *active, GError *
}
nm_active_connection_set_master (active, master_ac);
- nm_log_dbg (LOGD_CORE, "Activation of '%s' depends on active connection %s",
+ nm_log_dbg (LOGD_CORE, "Activation of '%s' depends on active connection %p",
nm_connection_get_id (connection),
- nm_active_connection_get_path (master_ac));
+ master_ac);
}
/* Check slaves for master connection and possibly activate them */