summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2014-04-24 08:51:09 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2014-04-24 08:51:09 +0000
commitfa0ed0106d2b57726d994bfa05326128438d0131 (patch)
tree4806d0a4bb0f6ab63b05ac7db10a1f24a8dddc07
parentcda1e477928e15a85e26c66b48fb0ce8a282d47d (diff)
fix copied text in error string
ok reyk@
-rw-r--r--usr.sbin/snmpd/parse.y4
1 files changed, 2 insertions, 2 deletions
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 <reyk@openbsd.org>
@@ -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;
}