summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-09-03 18:22:31 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-09-03 18:22:31 +0200
commit5e03dc19dc0dcfda41d4eb25c37a84491b4c92c3 (patch)
tree1679f16142c781f30960a3ac05e5814a32330d94 /src/hdaccess.c
parent73b3df2bed630472ee805273c115dc491dba76fb (diff)
Windows: search for the first 64 disks instead of the first 16
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 622ef4a..a466778 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -259,7 +259,7 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const int testd
if(list_disk==NULL)
do_insert=1;
{
- for(i=0;i<16;i++)
+ for(i=0;i<64;i++)
{
disk_t *disk_car;
sprintf(device_hd,"\\\\.\\PhysicalDrive%u", i);