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

Re: [libvirt] [PATCH] Log file name passed to virConfReadFile



On 10/20/2012 01:41 PM, Cole Robinson wrote:
> ---
>  src/util/conf.c | 3 +++
>  1 file changed, 3 insertions(+)

ACK.

> 
> diff --git a/src/util/conf.c b/src/util/conf.c
> index 4df62b1..346b3df 100644
> --- a/src/util/conf.c
> +++ b/src/util/conf.c
> @@ -35,6 +35,7 @@
>  #include "conf.h"
>  #include "util.h"
>  #include "c-ctype.h"
> +#include "logging.h"
>  #include "memory.h"
>  #include "virfile.h"
>  
> @@ -763,6 +764,8 @@ virConfReadFile(const char *filename, unsigned int flags)
>      int len;
>      virConfPtr conf;
>  
> +    VIR_DEBUG("filename=%s", NULLSTR(filename));
> +
>      if (filename == NULL) {
>          virConfError(NULL, VIR_ERR_INVALID_ARG, __FUNCTION__);
>          return NULL;
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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