Index: read.c =================================================================== --- read.c (revision 30954) +++ read.c (revision 30955) @@ -153,7 +153,7 @@ pcb_safe_append_vprintf(&str, 0, fmt, ap); va_end(ap); - rnd_message(PCB_MSG_ERROR, "%s", str.array); + rnd_message(RND_MSG_ERROR, "%s", str.array); gds_uninit(&str); return -1; @@ -1408,7 +1408,7 @@ flay = pcb_fopen(&pcb->hidlib, fn, "r"); if (flay == NULL) { - rnd_message(PCB_MSG_ERROR, "can't open layout hkp '%s' for read\n", fn); + rnd_message(RND_MSG_ERROR, "can't open layout hkp '%s' for read\n", fn); goto err; } Index: read_net.c =================================================================== --- read_net.c (revision 30954) +++ read_net.c (revision 30955) @@ -60,7 +60,7 @@ fnc = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); if (fnc == NULL) { - rnd_message(PCB_MSG_ERROR, "can't open netclass hkp '%s' for read\n", fn); + rnd_message(RND_MSG_ERROR, "can't open netclass hkp '%s' for read\n", fn); return -1; } @@ -91,7 +91,7 @@ if (ncrs == NULL) { tree_destroy(&nc_tree); - rnd_message(PCB_MSG_ERROR, "netclass hkp '%s' does not contain any NET_CLASS_SCHEME/CLEARANCE_RULE_SET section\n", fn); + rnd_message(RND_MSG_ERROR, "netclass hkp '%s' does not contain any NET_CLASS_SCHEME/CLEARANCE_RULE_SET section\n", fn); return -1; } @@ -144,7 +144,7 @@ fnet = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); if (fnet == NULL) { - rnd_message(PCB_MSG_ERROR, "can't open netprops hkp '%s' for read\n", fn); + rnd_message(RND_MSG_ERROR, "can't open netprops hkp '%s' for read\n", fn); return -1; } Index: read_pstk.c =================================================================== --- read_pstk.c (revision 30954) +++ read_pstk.c (revision 30955) @@ -397,7 +397,7 @@ fpstk = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); if (fpstk == NULL) { - rnd_message(PCB_MSG_ERROR, "can't open padstack hkp '%s' for read\n", fn); + rnd_message(RND_MSG_ERROR, "can't open padstack hkp '%s' for read\n", fn); return -1; }