about summary refs log tree commit diff
path: root/libnm-util/nm-setting-bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-setting-bluetooth.c')
-rw-r--r--libnm-util/nm-setting-bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-bluetooth.c b/libnm-util/nm-setting-bluetooth.c
index 6a2fed74..52f0b81e 100644
--- a/libnm-util/nm-setting-bluetooth.c
+++ b/libnm-util/nm-setting-bluetooth.c
@@ -104,7 +104,7 @@ NMSetting *nm_setting_bluetooth_new (void)
 const char *
 nm_setting_bluetooth_get_connection_type (NMSettingBluetooth *setting)
 {
-	g_return_val_if_fail (NM_IS_SETTING_BLUETOOTH (setting), 0);
+	g_return_val_if_fail (NM_IS_SETTING_BLUETOOTH (setting), NULL);
 
 	return NM_SETTING_BLUETOOTH_GET_PRIVATE (setting)->type;
 }