summaryrefslogtreecommitdiff
path: root/libnm/nm-device-macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-macvlan.c')
-rw-r--r--libnm/nm-device-macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-device-macvlan.c b/libnm/nm-device-macvlan.c
index d511b0b65c..59565b64a1 100644
--- a/libnm/nm-device-macvlan.c
+++ b/libnm/nm-device-macvlan.c
@@ -77,7 +77,7 @@ nm_device_macvlan_get_mode (NMDeviceMacvlan *device)
{
g_return_val_if_fail (NM_IS_DEVICE_MACVLAN (device), NULL);
- return nm_str_not_empty (NM_DEVICE_MACVLAN_GET_PRIVATE (device)->mode);
+ return _nml_coerce_property_str_not_empty (NM_DEVICE_MACVLAN_GET_PRIVATE (device)->mode);
}
/**