Re: [PATCH 5/7] Add virLogSource variables to all source files

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

 




On 03/03/2014 02:18 PM, Daniel P. Berrange wrote:
> Any source file which calls the logging APIs now needs
> to have a VIR_LOG_INIT("source.name") declaration at
> the start of the file. This provides a static variable
> of the virLogSource type.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---

<...snip...>

I found just one typo - I assume this is added anywhere a VIR_FROM_THIS
was found (although I didn't check :-))


> diff --git a/src/locking/lock_daemon_config.c b/src/locking/lock_daemon_config.c
> index 8e632f5..c7d9d97 100644
> --- a/src/locking/lock_daemon_config.c
> +++ b/src/locking/lock_daemon_config.c
> @@ -35,6 +35,8 @@
>  
>  #define VIR_FROM_THIS VIR_FROM_CONF
>  
> +VIR_LOG_INIT("locking.lock_daemon_confijg");
> +

s/lock_daemon_confijg/lock_daemon_config

>  
>  /* A helper function used by each of the following macros.  */
>  static int

ACK

John

--
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]