summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-11-13 20:03:31 +0000
committerDan Williams <dcbw@redhat.com>2007-11-13 20:03:31 +0000
commita2b0d04517bdcbf3f57b36b09df851421c2f9a11 (patch)
treeeaac1fab1abaa6223ae1b14ddcbad804b5da79c9 /test
parentbc17ea6d0aad31fc53b8faf8c54c8fcd9c1b2a6f (diff)
downloadNetworkManager-a2b0d04517bdcbf3f57b36b09df851421c2f9a11.tar.gz
2007-11-13 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device-802-11-wireless.h libnm-glib/nm-device-802-11-wireless.c - (nm_device_802_11_wireless_get_hw_address): return should be const * test/nm-tool.c libnm-glib/libnm-glib-test.c - Fixes for above change git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3082 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'test')
-rw-r--r--test/nm-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c
index 3770254116..511e908517 100644
--- a/test/nm-tool.c
+++ b/test/nm-tool.c
@@ -207,7 +207,7 @@ detail_device (gpointer data, gpointer user_data)
if (NM_IS_DEVICE_802_3_ETHERNET (device))
tmp = nm_device_802_3_ethernet_get_hw_address (NM_DEVICE_802_3_ETHERNET (device));
else if (NM_IS_DEVICE_802_11_WIRELESS (device))
- tmp = nm_device_802_11_wireless_get_hw_address (NM_DEVICE_802_11_WIRELESS (device));
+ tmp = g_strdup (nm_device_802_11_wireless_get_hw_address (NM_DEVICE_802_11_WIRELESS (device)));
if (tmp) {
print_string ("HW Address", tmp);