From adef815219fa96d3cae410819852e2895f2f7158 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 5 Jun 2023 14:30:44 +0200 Subject: [PATCH] device: add comment about return value in nm_device_get_type_description() --- src/core/devices/nm-device.c | 4 ++-- 1 file 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); }