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

Replaced missing parameter to fnopen (whoops).

parent 19f11382
Branches
Tags
No related merge requests found
......@@ -247,7 +247,7 @@ BOOL read_attr_cfg(scfg_t* cfg, read_cfg_text_t* txt)
strcpy(fname,"attr.cfg");
sprintf(str,"%s%s",cfg->ctrl_dir,fname);
if((instream=fnopen(str,O_RDONLY))==NULL) {
if((instream=fnopen(NULL,str,O_RDONLY))==NULL) {
lprintf(txt->openerr,str);
return(FALSE); }
if(txt->reading && txt->reading[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment