summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-05-27 22:12:09 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-05-27 22:12:09 +0200
commitd229ea96482e74c54e30bc7d2331b4e57a188024 (patch)
tree181cd27e11d35f20462287d63456c97be2ebcfe4
parentd31e12877b07685243aa82e0804fe83881fa7c8a (diff)
log when disk image is using EWF
-rw-r--r--src/hdaccess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 3cc8384..b9ed886 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -1532,8 +1532,10 @@ disk_t *file_test_availability(const char *device, const int verbose, int testdi
free(disk_car);
close(hd_h);
#if defined(HAVE_LIBEWF_H) && defined(HAVE_LIBEWF)
+ log_info("EWF format detected.\n");
return fewf_init(device, testdisk_mode);
#else
+ log_info("EWF format detected but missing library.\n");
return NULL;
#endif
}