=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sed/compile.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- src/usr.bin/sed/compile.c 2015/10/26 14:08:47 1.39 +++ src/usr.bin/sed/compile.c 2015/10/26 22:24:44 1.40 @@ -1,4 +1,4 @@ -/* $OpenBSD: compile.c,v 1.39 2015/10/26 14:08:47 mmcc Exp $ */ +/* $OpenBSD: compile.c,v 1.40 2015/10/26 22:24:44 jca Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -784,7 +784,7 @@ break; } if ((cp->u.c = findlabel(cp->t)) == NULL) - error(COMPILE2, "undefined label '%s'", cp->t); + error(COMPILE, "undefined label '%s'", cp->t); free(cp->t); break; case '{': @@ -809,7 +809,7 @@ lhp = &labels[h & LHMASK]; for (lh = *lhp; lh != NULL; lh = lh->lh_next) if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0) - error(COMPILE2, "duplicate label '%s'", cp->t); + error(COMPILE, "duplicate label '%s'", cp->t); lh = xmalloc(sizeof *lh); lh->lh_next = *lhp; lh->lh_hash = h;