virfirewall: fix build on freebsd
authorPavel Hrdina <phrdina@redhat.com>
Wed, 30 Apr 2014 06:51:29 +0000 (08:51 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 30 Apr 2014 06:51:29 +0000 (08:51 +0200)
commit620e16760e0411db4da39b523b3a0a843c5464ad
tree31625e4603975a75b31d6137d1f9b75e841b2746
parentc9679edca9cc876d63f12c80d21f57aceacc97bd
virfirewall: fix build on freebsd

Freebsd doesn't know ENODATA so we have to use different EINVAL
error code.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virfirewall.c