aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-03-29 17:08:27 -0600
committerEric Blake <eblake@redhat.com>2012-03-29 17:08:27 -0600
commit63e086310fe4257c724011c4822f8b7fd19ea0f7 (patch)
treec23595702171ab4d537c8c63a407fb433ca83807 /tools
parentprivate.syms: Add virNetDevMacVLanRestartWithVPortProfile (diff)
downloadlibvirt-63e086310fe4257c724011c4822f8b7fd19ea0f7.tar.gz
libvirt-63e086310fe4257c724011c4822f8b7fd19ea0f7.tar.bz2
libvirt-63e086310fe4257c724011c4822f8b7fd19ea0f7.zip
build: avoid 'devname' for BSD
Commit 21b5daa1 was the last time we cleaned this up. * tools/virt-host-validate-common.c (virHostValidateDevice): Rename local variable.
Diffstat (limited to 'tools')
-rw-r--r--tools/virt-host-validate-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/virt-host-validate-common.c b/tools/virt-host-validate-common.c
index bd118be0b..066343ccf 100644
--- a/tools/virt-host-validate-common.c
+++ b/tools/virt-host-validate-common.c
@@ -113,13 +113,13 @@ void virHostMsgFail(virHostValidateLevel level,
int virHostValidateDevice(const char *hvname,
- const char *devname,
+ const char *dev_name,
virHostValidateLevel level,
const char *hint)
{
- virHostMsgCheck(hvname, "for device %s", devname);
+ virHostMsgCheck(hvname, "for device %s", dev_name);
- if (access(devname, R_OK|W_OK) < 0) {
+ if (access(dev_name, R_OK|W_OK) < 0) {
virHostMsgFail(level, hint);
return -1;
}