summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2010-08-13 17:44:28 +0100
committerRichard Jones <rjones@redhat.com>2010-08-13 17:44:28 +0100
commiteb18b66d08225b822680b132464527933b929ba2 (patch)
tree23df0a58673294ac2546f5ba3b58ce6354c070a4 /lib
parentb71b88f588f8660935a7d462e97b84aa2d669249 (diff)
downloadhivex-eb18b66d08225b822680b132464527933b929ba2.tar.gz
hivex-eb18b66d08225b822680b132464527933b929ba2.tar.xz
hivex-eb18b66d08225b822680b132464527933b929ba2.zip
Add debug output to hivex_close.
Diffstat (limited to 'lib')
-rw-r--r--lib/hivex.c3
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;
}