[Libguestfs] [PATCH] Add debug output to hivex_close

Matthew Booth mbooth at redhat.com
Fri Aug 13 16:26:58 UTC 2010


---
 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;
 }
 
-- 
1.7.2.1




More information about the Libguestfs mailing list