......@@ -766,9 +766,10 @@ BOOL write_file_cfg(scfg_t* cfg, int backup_level)
c = cfg->lib[i]->sort;
put_int(c,stream);
put_int(cfg->lib[i]->misc,stream);
n=0x0000;
for(j=0;j<1;j++)
put_int(n,stream);
c = cfg->lib[i]->vdir_name;
put_int(c,stream);
c = 0x00;
put_int(c,stream);
n=0xffff;
for(j=0;j<16;j++)
......
......@@ -842,7 +842,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
SAFEPRINTF(path, "%sDOSXTRN.RET", cfg.node_dir);
FILE* fp=fopen(path,"r");
if(fp == NULL) {
lprintf(LOG_ERR, "Error %d opening %s", errno, path);
lprintf(LOG_ERR, "Error %d opening %s after running %s", errno, path, cmdline);
} else {
if(fscanf(fp,"%d",&retval) != 1) {
lprintf(LOG_ERR, "Error reading return value from %s", path);
......