summaryrefslogtreecommitdiffstats
path: root/src/parti386.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-22 14:45:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-22 14:45:52 +0100
commit1b8d918bc1df1b97ecec9f879b3665e8eb5f0d58 (patch)
tree82e3b3bca5c9edec74f6f4dc8995d0cf4035c57a /src/parti386.c
parentfedfee5946e69892f61818db91ad185bc28081d1 (diff)
TestDisk: recover exFAT partition
Diffstat (limited to 'src/parti386.c')
-rw-r--r--src/parti386.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/parti386.c b/src/parti386.c
index 91fd238..44161db 100644
--- a/src/parti386.c
+++ b/src/parti386.c
@@ -43,6 +43,7 @@
#include "bfs.h"
#include "bsd.h"
#include "cramfs.h"
+#include "exfat.h"
#include "ext2.h"
#include "fat.h"
#include "hfs.h"
@@ -1527,7 +1528,11 @@ static int check_part_i386(disk_t *disk_car,const int verbose,partition_t *parti
case P_NTFSH:
ret=check_NTFS(disk_car,partition,verbose,0);
if(ret!=0)
- { screen_buffer_add("Invalid NTFS boot\n"); }
+ {
+ ret=check_EXFAT(disk_car, partition);
+ }
+ if(ret!=0)
+ { screen_buffer_add("Invalid NTFS or EXFAT boot\n"); }
break;
case P_OPENBSD:
ret=check_BSD(disk_car,partition,verbose,OPENBSD_MAXPARTITIONS);