Index: trunk/src_plugins/io_lihata/write.c =================================================================== --- trunk/src_plugins/io_lihata/write.c (revision 5950) +++ trunk/src_plugins/io_lihata/write.c (revision 5951) @@ -788,7 +788,7 @@ orig_fn = PCB->Filename; PCB->Filename = NULL; - fprintf(stderr, "NOTE: io_lihata_write_pcb will save to '%s' but first saves in '%s': res=%d (expected: 0)\n", new_filename, pcb_fn, pcb_hid_actionl("SaveTo", "LayoutAs", pcb_fn, "pcb", NULL)); + fprintf(stderr, "NOTE: io_lihata_write_pcb will save to '%s' but first saves in '%s': res=%d (expected: 0)\n", new_filename, pcb_fn, pcb_save_pcb(pcb_fn, "pcb")); free(pcb_fn); /* restore these because SaveTo() has changed them */