diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-01 18:30:33 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-01 18:30:33 +0000 |
commit | 12ce88afbc54312fc23d8fe50736b79d3ef0c947 (patch) | |
tree | 1f872b827a8a4318e0d79d961c8010f06d0ef250 /usr.sbin | |
parent | a44037a34a18eb6de040fd10ed35e5be9286dac1 (diff) |
A bit nicer error message.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ldpd/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/parse.y b/usr.sbin/ldpd/parse.y index b8dbe4faec9..deed3756bd6 100644 --- a/usr.sbin/ldpd/parse.y +++ b/usr.sbin/ldpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.10 2013/06/01 18:26:40 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.11 2013/06/01 18:30:32 claudio Exp $ */ /* * Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org> @@ -290,8 +290,8 @@ interface : INTERFACE STRING { YYERROR; if (iface->media_type == IFT_LOOP || iface->media_type == IFT_CARP) { - yyerror("unsupported interface type %s", - iface->name); + yyerror("unsupported interface type on " + "interface %s", iface->name); YYERROR; } LIST_INSERT_HEAD(&conf->iface_list, iface, entry); |