Index: tinycad.c =================================================================== --- tinycad.c (revision 31016) +++ tinycad.c (revision 31017) @@ -159,7 +159,7 @@ FILE *fn; int ret = 0; - fn = pcb_fopen(&PCB->hidlib, fname_net, "r"); + fn = rnd_fopen(&PCB->hidlib, fname_net, "r"); if (fn == NULL) { rnd_message(RND_MSG_ERROR, "can't open file '%s' for read\n", fname_net); return -1; @@ -204,7 +204,7 @@ if ((aspects != IMPORT_ASPECT_NETLIST) || (numargs != 1)) return 0; /* only pure netlist import is supported from a single file*/ - f = pcb_fopen(&PCB->hidlib, args[0], "r"); + f = rnd_fopen(&PCB->hidlib, args[0], "r"); if (f == NULL) return 0;