summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-12-08 14:25:18 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-12-16 10:43:16 -1000
commit49d0de52709c79129572c0ea83e4b97297a139fd (patch)
tree719097f0193f894e3062da676df67f7d516e35de
parent2c3546b2a885c91df95b0a844c8fcc2491b71785 (diff)
downloadanaconda-49d0de52709c79129572c0ea83e4b97297a139fd.tar.gz
anaconda-49d0de52709c79129572c0ea83e4b97297a139fd.tar.xz
anaconda-49d0de52709c79129572c0ea83e4b97297a139fd.zip
Use macros for D-Bus paths
-rw-r--r--loader/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/net.c b/loader/net.c
index 69f57795e..aead30095 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1897,7 +1897,7 @@ int get_connection(iface_t *iface) {
DBusError error;
DBusMessageIter iter, variant_iter;
dbus_uint32_t state = 0;
- char *nm_iface = "org.freedesktop.NetworkManager";
+ char *nm_iface = NM_DBUS_INTERFACE;
char *property = "State";
if (iface == NULL) {
@@ -1931,7 +1931,7 @@ int get_connection(iface_t *iface) {
dbus_error_init(&error);
message = dbus_message_new_method_call(NM_DBUS_SERVICE,
NM_DBUS_PATH,
- "org.freedesktop.DBus.Properties",
+ DBUS_INTERFACE_PROPERTIES,
"Get");
if (!message) {
if (dbus_error_is_set(&error)) {