kbdmap: include filename when reporting fopen() failure
Previously only one of two cases reported the file name. Use the same error string in both cases. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2eb2f0d5e3
commit
632ddb8753
@ -692,7 +692,7 @@ menu_read(void)
|
||||
fclose(fp);
|
||||
|
||||
} else
|
||||
printf("Could not open file\n");
|
||||
fprintf(stderr, "Could not open %s for reading\n", filename);
|
||||
|
||||
if (show) {
|
||||
qsort(lang_list->sl_str, lang_list->sl_cur, sizeof(char*),
|
||||
|
Loading…
Reference in New Issue
Block a user