aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/keytypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp/keytypes.c')
-rw-r--r--xkbcomp/keytypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkbcomp/keytypes.c b/xkbcomp/keytypes.c
index 375ca3e0d..103d86074 100644
--- a/xkbcomp/keytypes.c
+++ b/xkbcomp/keytypes.c
@@ -597,7 +597,7 @@ AddPreserve(XkbDescPtr xkb,
if (!old)
{
WSGO1("Couldn't allocate preserve in %s\n", TypeTxt(type));
- ACTION1("Preserve[%s] lost\n", PreserveIndexTxt(type, xkb, old));
+ ACTION1("Preserve[%s] lost\n", PreserveIndexTxt(type, xkb, new));
return False;
}
*old = *new;