Index: export_vfs_fuse.c =================================================================== --- export_vfs_fuse.c (revision 37052) +++ export_vfs_fuse.c (revision 37053) @@ -237,14 +237,14 @@ static void pcb_fuse_destroy(void *private_data) { - char *fn = PCB->hidlib.filename; + char *fn = PCB->hidlib.loadname; if (!pcb_fuse_changed) return; /* pwd is lost during daemonisation */ - if (!rnd_is_path_abs(PCB->hidlib.filename)) - fn = rnd_strdup_printf("%s%c%s", fuse_cwd, RND_DIR_SEPARATOR_C, PCB->hidlib.filename); + if (!rnd_is_path_abs(PCB->hidlib.loadname)) + fn = rnd_strdup_printf("%s%c%s", fuse_cwd, RND_DIR_SEPARATOR_C, PCB->hidlib.loadname); if (pcb_save_pcb(fn, NULL) != 0) { fprintf(stderr, "Failed to save the modified board file\n");