aboutsummaryrefslogtreecommitdiff
path: root/kms/server
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-04 23:56:16 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-04 23:56:16 +0200
commit01040796ee93d342622b258c2668ad7ba9e989bb (patch)
treed5bbc3c2fae9f9e8de41c4c94e675de917e54f78 /kms/server
parent152d3d753692f8aa544aff10cee1ab91e180ead6 (diff)
5.3.75.3.7
Diffstat (limited to 'kms/server')
-rw-r--r--kms/server/kms_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c
index bb91863..c585f24 100644
--- a/kms/server/kms_server.c
+++ b/kms/server/kms_server.c
@@ -207,7 +207,7 @@ static uint32_t plane_get_properties(int drmfd, uint32_t plane_id, int *x, int *
return property_mask;
}
-/* Returns 0 if not found */
+/* Returns NULL if not found */
static const connector_crtc_pair* get_connector_pair_by_crtc_id(const connector_to_crtc_map *c2crtc_map, uint32_t crtc_id) {
for(int i = 0; i < c2crtc_map->num_maps; ++i) {
if(c2crtc_map->maps[i].crtc_id == crtc_id)