]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virInitctlRequest: Don't hardcode 384 bytes size
authorGuido Günther <agx@sigxcpu.org>
Wed, 1 May 2013 20:35:44 +0000 (22:35 +0200)
committerGuido Günther <agx@sigxcpu.org>
Thu, 2 May 2013 06:18:42 +0000 (08:18 +0200)
commitdcf97846d54b9ae20181f0f29c684b6ae4de89ee
treeecfaeb1b01b13dbc04f13c7803a150c9da518c77
parente482693b24de7b57531d9b3ac75dc1b3bb05a4cd
virInitctlRequest: Don't hardcode 384 bytes size

When MAXHOSTNAMELEN is set we have to take it's value into account.
Otherwise the build fails on kFreeBSD (FreeBSD kernel and GNU userland)
src/util/virinitctl.c