summaryrefslogtreecommitdiff
path: root/setxkbmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'setxkbmap.c')
-rw-r--r--setxkbmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/setxkbmap.c b/setxkbmap.c
index cf0f02d..3af641e 100644
--- a/setxkbmap.c
+++ b/setxkbmap.c
@@ -742,12 +742,15 @@ applyConfig(char *name)
Bool ok;
if ((fp = findFileInPath(name)) == NULL)
+ {
+ ERR1("Couldn't find configuration file \"%s\"\n", name);
return False;
+ }
ok = XkbCFParse(fp, XkbCFDflts, NULL, &cfgResult);
fclose(fp);
if (!ok)
{
- ERR1("Couldn't find configuration file \"%s\"\n", name);
+ ERR1("Couldn't parse configuration file \"%s\"\n", name);
return False;
}
if (cfgResult.rules_file)