xselinux: use return code of X_SEND_REPLY_SIMPLE()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-16 15:09:33 +02:00
committed by Enrico Weigelt
parent 94fc59c292
commit 39d0d9cb96

View File

@@ -71,12 +71,13 @@ ProcSELinuxQueryVersion(ClientPtr client)
.server_major = SELINUX_MAJOR_VERSION,
.server_minor = SELINUX_MINOR_VERSION
};
if (client->swapped) {
swaps(&reply.server_major);
swaps(&reply.server_minor);
}
X_SEND_REPLY_SIMPLE(client, reply);
return Success;
return X_SEND_REPLY_SIMPLE(client, reply);
}
static int