--- src/libexec/pppoed/pppoed.c 2003/08/08 04:18:36 1.3 +++ src/libexec/pppoed/pppoed.c 2007/06/04 00:40:31 1.4 @@ -498,7 +498,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;