Index: calay.c =================================================================== --- calay.c (revision 25226) +++ calay.c (revision 25227) @@ -171,7 +171,7 @@ FILE *f; int ret = 0; - f = pcb_fopen(fname_net, "r"); + f = pcb_fopen(&PCB->hidlib, fname_net, "r"); if (f == NULL) { pcb_message(PCB_MSG_ERROR, "can't open calay netlist file '%s' for read\n", fname_net); return -1; @@ -179,7 +179,7 @@ ret = calay_parse_net(f); fclose(f); - f = pcb_fopen(fname_cmp, "r"); + f = pcb_fopen(&PCB->hidlib, fname_cmp, "r"); if (f == NULL) pcb_message(PCB_MSG_ERROR, "can't open calay component file '%s' for read\n(non-fatal, but footprints will not be placed)\n", fname_cmp);