Skip to content
Snippets Groups Projects
Commit 81418166 authored by rswindell's avatar rswindell
Browse files

Fixed up error message for unable to open area file (areas.bbs).

parent c613068d
No related branches found
No related tags found
No related merge requests found
......@@ -4203,7 +4203,8 @@ int main(int argc, char **argv)
printf("Reading %s",cfg.areafile);
if((stream=fnopen(&file,cfg.areafile,O_RDONLY))==NULL) {
printf("Unable to open %s for read.\n",cfg.areafile);
printf("\nError opening %s for read: %s\n"
,cfg.areafile,strerror(errno));
bail(1); }
cfg.areas=0; /* Total number of areas in AREAS.BBS */
cfg.area=NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment