summaryrefslogtreecommitdiffstats
path: root/src/phbf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-03-25 14:34:35 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-03-25 14:34:35 +0100
commitb2ac7a67424be0bae302a8bea02b5af1a5d5eac7 (patch)
tree781e718840c8456ce2d407ee133ee71b53248d48 /src/phbf.c
parent4acc8c51bb94006ba263d7b40ba268bc296279e1 (diff)
PhotoRec: use "%llu" instead of "%lu" to display sectors offset
Diffstat (limited to 'src/phbf.c')
-rw-r--r--src/phbf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/phbf.c b/src/phbf.c
index 35c259a..198d5eb 100644
--- a/src/phbf.c
+++ b/src/phbf.c
@@ -291,9 +291,9 @@ int photorec_bf(disk_t *disk_car, partition_t *partition, const int verbose, con
buffer=buffer_olddata+blocksize;
if(verbose>1)
{
- log_verbose("Reading sector %10lu/%lu\n",
- (unsigned long)((offset-partition->part_offset)/disk_car->sector_size),
- (unsigned long)((partition->part_size-1)/disk_car->sector_size));
+ log_verbose("Reading sector %10llu/%llu\n",
+ (unsigned long long)((offset-partition->part_offset)/disk_car->sector_size),
+ (unsigned long long)((partition->part_size-1)/disk_car->sector_size));
}
disk_car->pread(disk_car, buffer, READ_SIZE, offset);
}