aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-11-15 15:26:35 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-11-15 15:26:35 +0000
commit89624a34909c1355b71214ff83df0fa94b04e34b (patch)
tree201c2a255c93bc25015b4e71f409755772c4c70e /libexec
parent53b2520d01fc8262caf7af67cdac9fbf60f872ce (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/pppoed/pppoed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index 7d7832416ba3..3fdac99f6d59 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -497,7 +497,7 @@ nglogx(const char *fmt, ...)
int
main(int argc, char *argv[])
{
- char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKLEN + 1];
+ char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];
unsigned char response[1024];
const char *label, *prog, *provider, *acname;
struct ngm_connect ngc;