Index: dsn.c =================================================================== --- dsn.c (revision 25226) +++ dsn.c (revision 25227) @@ -229,7 +229,7 @@ } /* load and parse the file into a dom tree */ - f = pcb_fopen(fname, "r"); + f = pcb_fopen(&PCB->hidlib, fname, "r"); if (f == NULL) { pcb_message(PCB_MSG_ERROR, "import_dsn: can't open %s for read\n", fname); return 1;