Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2015-01-16 19:17:31 +00:00
5 changed files with 20 additions and 19 deletions

View File

@ -134,7 +134,7 @@ struct format_tree *
format_create(void)
{
struct format_tree *ft;
char host[MAXHOSTNAMELEN], *ptr;
char host[HOST_NAME_MAX+1], *ptr;
ft = xcalloc(1, sizeof *ft);
RB_INIT(&ft->tree);