Re: [PATCH] Adjust some log levels in udev driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/09/2011 09:42 AM, Daniel P. Berrange wrote:
> Most of te VIR_INFO calls in the udev driver are only relevant

s/te/the/

> to developers so can switch to VIR_DEBUG. Failure to initialize
> libpciaccess though is a fatal error
> 
> * src/node_device/node_device_udev.c: Adjust log levels
> ---
>  src/node_device/node_device_udev.c |   44 ++++++++++++++++++------------------
>  1 files changed, 22 insertions(+), 22 deletions(-)
> 
> @@ -1598,8 +1598,8 @@ static int udevDeviceMonitorStartup(int privileged ATTRIBUTE_UNUSED)
>  
>      if ((pciret = pci_system_init()) != 0) {
>          char ebuf[256];
> -        VIR_INFO("Failed to initialize libpciaccess: %s",
> -                 virStrerror(pciret, ebuf, sizeof ebuf));
> +        VIR_ERROR("Failed to initialize libpciaccess: %s",
> +                  virStrerror(pciret, ebuf, sizeof ebuf));

This won't pass 'make syntax-check'; you need _() for VIR_ERROR.  ACK
with that nit fixed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]