summaryrefslogtreecommitdiffstats
path: root/src/analyse.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-25 12:40:46 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-25 12:40:46 +0200
commit1ec19820a50546298c1685593aac63f68a5c22ec (patch)
treed8deb6458cfc5e5d372e2fe5162aa90fa7b45679 /src/analyse.c
parent8a42ee35cd2a67cfe1b45f072c22c4f9701342a0 (diff)
Fix regression introduced in eb3b555b50e2c82f67559472bdf0a1d54325550f
Diffstat (limited to 'src/analyse.c')
-rw-r--r--src/analyse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyse.c b/src/analyse.c
index b8a749f..458e595 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -77,7 +77,7 @@ int search_NTFS_backup(unsigned char *buffer, disk_t *disk, partition_t *partiti
int search_HFS_backup(unsigned char *buffer, disk_t *disk, partition_t *partition, const int verbose, const int dump_ind)
{
- if(disk->pread(disk, buffer, 0x400, partition->part_offset)!= DEFAULT_SECTOR_SIZE)
+ if(disk->pread(disk, buffer, 0x400, partition->part_offset)!= 0x400)
return -1;
{
const hfs_mdb_t *hfs_mdb=(const hfs_mdb_t *)buffer;