From: blambert Date: Thu, 24 Apr 2014 08:51:08 +0000 (+0000) Subject: fix copied text in error string X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2374dcc374ec25a6145b7bb5fbb5472db745a192;p=openbsd fix copied text in error string ok reyk@ --- diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y index db25bb8c037..fe5d7fe39fd 100644 --- a/usr.sbin/snmpd/parse.y +++ b/usr.sbin/snmpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.30 2014/04/14 12:55:10 blambert Exp $ */ +/* $OpenBSD: parse.y,v 1.31 2014/04/24 08:51:08 blambert Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -232,7 +232,7 @@ main : LISTEN ON STRING { if (strlcpy(conf->sc_trcommunity, $3, sizeof(conf->sc_trcommunity)) >= sizeof(conf->sc_trcommunity)) { - yyerror("r/w community name too long"); + yyerror("trap community name too long"); free($3); YYERROR; }