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

Eric Blake eblake at redhat.com
Sat Oct 20 19:49:21 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121020/ee380959/attachment-0001.sig>


More information about the libvir-list mailing list