[libvirt] [PATCH] build: avoid shadowing devname() on BSD systems

Matthias Bolte matthias.bolte at googlemail.com
Fri Dec 3 17:11:56 UTC 2010


2010/12/3 Eric Blake <eblake at redhat.com>:
> * tools/virsh.c (cmdRunConsole, cmdConsole): Rename problematic
> symbol.
> Reported by Justin Clift.
> ---
>> IIRC, it had the same warning on FreeBSD, I just didn't post a patch for it yet.
> Pushing under the build-breaker rule, then.
>

Actually on FreeBSD this shadowing problem doesn't affect virsh.c
only, but libvirt itself too. For example, the virDomainOpenConsole
function takes a devname argument.

I should probably try to compile current git on FreeBSD again.

Matthias




More information about the libvir-list mailing list