From f58b56a79fe18d8d4aae90350b5802101c12c513 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 8 Sep 2025 19:25:24 +0200 Subject: [PATCH] Xext: dpms: use return value of X_SEND_REPLY_SIMPLE() Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/dpms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Xext/dpms.c b/Xext/dpms.c index 4400f5fc7d..c882765feb 100644 --- a/Xext/dpms.c +++ b/Xext/dpms.c @@ -465,8 +465,7 @@ ProcDPMSInfo(ClientPtr client) if (client->swapped) { swaps(&reply.power_level); } - X_SEND_REPLY_SIMPLE(client, reply); - return Success; + return X_SEND_REPLY_SIMPLE(client, reply); } static int