summaryrefslogtreecommitdiffstats
path: root/src/win32.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-25 22:27:05 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-25 22:27:05 +0100
commitaca14bd4fc114b5d888aafa98fe0e0c6f939310c (patch)
tree638d67465efb02d2d0cdb92ef7d5d60fe75a970d /src/win32.c
parent485fd6942cb0219d1bc96f17e9cddfee70cf2f98 (diff)
Need debug>1 to display an hexdump of windows IOCTL_STORAGE_QUERY_PROPERTY buffer
Diffstat (limited to 'src/win32.c')
-rw-r--r--src/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.c b/src/win32.c
index 6255e63..f63345d 100644
--- a/src/win32.c
+++ b/src/win32.c
@@ -67,7 +67,7 @@ void file_win32_disk_get_info(HANDLE handle, disk_t *dev, const int verbose)
const unsigned int offsetProduct=descrip->ProductIdOffset;
unsigned int lenVendor=0;
unsigned int lenProduct=0;
- if(verbose>0)
+ if(verbose>1)
{
log_info("IOCTL_STORAGE_QUERY_PROPERTY:\n");
dump_log(&buffer, cbBytesReturned);