summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2023-06-05 14:30:44 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2023-06-12 11:17:09 +0200
commitadef815219fa96d3cae410819852e2895f2f7158 (patch)
treea7cedaea90ae9d35d6b195d615fcf4e0836fdf56
parent3ea19523ee9865d7210b8da1fe2b6b7fa5011825 (diff)
device: add comment about return value in nm_device_get_type_description()
-rw-r--r--src/core/devices/nm-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c
index 1b6b555794..edd8ef5f13 100644
--- a/src/core/devices/nm-device.c
+++ b/src/core/devices/nm-device.c
@@ -5405,8 +5405,8 @@ nm_device_get_type_description(NMDevice *self)
g_return_val_if_fail(self != NULL, NULL);
/* Beware: this function should return the same
- * value as nm_device_get_type_description() in libnm. */
-
+ * value as nm_device_get_type_description() in libnm.
+ * The returned string is static or interned */
return NM_DEVICE_GET_CLASS(self)->get_type_description(self);
}