From 994b1ce9ebd3057480ca15094c5861cb35773d31 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 9 Jul 1998 06:05:46 +0000 Subject: use MAXHOSTNAMELEN --- gnu/libexec/uucp/libunix/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/libexec/uucp') diff --git a/gnu/libexec/uucp/libunix/init.c b/gnu/libexec/uucp/libunix/init.c index a4fe66ea4c7..6a1a944a46b 100644 --- a/gnu/libexec/uucp/libunix/init.c +++ b/gnu/libexec/uucp/libunix/init.c @@ -210,7 +210,7 @@ usysdep_initialize (puuconf,iflags) if (iuuconf == UUCONF_NOT_FOUND) { #if HAVE_GETHOSTNAME - char ab[256]; + char ab[MAXHOSTNAMELEN]; if (gethostname (ab, sizeof ab - 1) < 0) ulog (LOG_FATAL, "gethostname: %s", strerror (errno)); -- cgit v1.2.3