summaryrefslogtreecommitdiff
path: root/dix/inpututils.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/inpututils.c')
-rw-r--r--dix/inpututils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/inpututils.c b/dix/inpututils.c
index 4848c1bc2..e3b44fc08 100644
--- a/dix/inpututils.c
+++ b/dix/inpututils.c
@@ -311,7 +311,7 @@ int generate_modkeymap(ClientPtr client, DeviceIntPtr dev,
}
}
- modkeymap = xcalloc(max_keys_per_mod * 8, sizeof(KeyCode));
+ modkeymap = calloc(max_keys_per_mod * 8, sizeof(KeyCode));
if (!modkeymap)
return BadAlloc;