6792c5
diff --git a/hostname.c b/hostname.c
6792c5
index b192e74..ad6070c 100644
6792c5
--- a/hostname.c
6792c5
+++ b/hostname.c
6792c5
@@ -279,7 +279,7 @@ show_name(enum type_t type)
6792c5
 			break;
6792c5
 		case ALL_IPS:
6792c5
 		case ALL_FQDNS: {
6792c5
-			char buf[INET6_ADDRSTRLEN];
6792c5
+			char buf[255];
6792c5
 			int flags, ret, family, addrlen;
6792c5
 
6792c5
 			/* What kind of information do we want from getnameinfo()? */