summaryrefslogtreecommitdiff
path: root/hw/xfree86/utils/xorgcfg/keyboard-cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/utils/xorgcfg/keyboard-cfg.c')
-rw-r--r--hw/xfree86/utils/xorgcfg/keyboard-cfg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/utils/xorgcfg/keyboard-cfg.c b/hw/xfree86/utils/xorgcfg/keyboard-cfg.c
index 334070d4e..05b1aeb09 100644
--- a/hw/xfree86/utils/xorgcfg/keyboard-cfg.c
+++ b/hw/xfree86/utils/xorgcfg/keyboard-cfg.c
@@ -1013,7 +1013,6 @@ KeyboardRulesCallback(Widget w, XtPointer user_data, XtPointer call_data)
}
if (!XkbRF_LoadRules(fp, xkb_rules->list)) {
- fclose(fp);
fprintf(stderr, "Can't load rules\n");
}
fclose(fp);