Commit 4187b6df authored by rswindell's avatar rswindell
Browse files

Added more detailed list open failure message.

parent c5007d49
......@@ -311,6 +311,8 @@ void addlist(char *inpath, file_t f, uint dskip, uint sskip)
if((stream=fnopen(&file,listpath,O_RDONLY))==NULL) {
fprintf(stderr,"Error %d (%s) opening %s\n"
sprintf(listpath,"%s%s",cur_altpath ? scfg.altpath[cur_altpath-1]
: scfg.dir[f.dir]->path,inpath);
if((stream=fnopen(&file,listpath,O_RDONLY))==NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment