diff options
Diffstat (limited to 'setxkbmap.c')
-rw-r--r-- | setxkbmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setxkbmap.c b/setxkbmap.c index be3c262..3d3b7d8 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -642,7 +642,7 @@ findFileInPath(char *name, char *subdir) subdir, name); continue; } - fp = fopen(name, "r"); + fp = fopen(buf, "r"); if ((verbose > 7) || ((!fp) && (verbose > 5))) MSG2("%s file %s\n", (fp ? "Found" : "Didn't find"), buf); if (fp != NULL) |