[Libguestfs] [PATCH] Add debug output to hivex_close

Richard W.M. Jones rjones at redhat.com
Fri Aug 13 16:45:08 UTC 2010


On Fri, Aug 13, 2010 at 05:26:58PM +0100, Matthew Booth wrote:
> ---
>  lib/hivex.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/lib/hivex.c b/lib/hivex.c
> index 13d7556..8a774de 100644
> --- a/lib/hivex.c
> +++ b/lib/hivex.c
> @@ -543,6 +543,9 @@ hivex_close (hive_h *h)
>    free (h->filename);
>    free (h);
>  
> +  if (h->msglvl >= 1)
> +    fprintf (stderr, "hivex_close\n");
> +
>    return r;
>  }

Thanks, ACKed and applied upstream.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list