aboutsummaryrefslogtreecommitdiffstats
path: root/src/servers/crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers/crtc.c')
-rw-r--r--src/servers/crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers/crtc.c b/src/servers/crtc.c
index 5facade..bc3b51b 100644
--- a/src/servers/crtc.c
+++ b/src/servers/crtc.c
@@ -43,7 +43,7 @@ int handle_enumerate_crtcs(size_t conn, const char* restrict message_id)
for (i = 0; i < outputs_n; i++)
n += strlen(outputs[i].name) + 1;
- MAKE_MESSAGE(&buf, &n, 0,
+ MAKE_MESSAGE(&buf, &n, n,
"Command: crtc-enumeration\n"
"In response to: %s\n"
"Length: %zu\n"