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
d3add9250e
commit
1ed55b5a76
@ -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