Index: read.c =================================================================== --- read.c (revision 29000) +++ read.c (revision 29001) @@ -669,7 +669,7 @@ return 1; } else - hkp_error(n, "Unknown MNT_SIDE while parsing package.\n"); + hkp_error(tmp, "Unknown MNT_SIDE while parsing package.\n"); } else if (strcmp(tmp->argv[1], "TOP") == 0) { *side = PCB_LYT_TOP;