diff options
Diffstat (limited to 'libnm/nm-client.c')
-rw-r--r-- | libnm/nm-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c index 1ba44f7842..c6133d6c22 100644 --- a/libnm/nm-client.c +++ b/libnm/nm-client.c @@ -1660,7 +1660,7 @@ constructor (GType type, const char *dbus_path; for (i = 0; i < n_construct_params; i++) { - if (strcmp (construct_params[i].pspec->name, NM_OBJECT_DBUS_PATH) == 0) { + if (strcmp (construct_params[i].pspec->name, NM_OBJECT_PATH) == 0) { dbus_path = g_value_get_string (construct_params[i].value); if (dbus_path == NULL) { g_value_set_static_string (construct_params[i].value, NM_DBUS_PATH); |