summaryrefslogtreecommitdiffstats
path: root/src/phbs.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/phbs.c
parent4acc8c51bb94006ba263d7b40ba268bc296279e1 (diff)
PhotoRec: use "%llu" instead of "%lu" to display sectors offset
Diffstat (limited to 'src/phbs.c')
-rw-r--r--src/phbs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/phbs.c b/src/phbs.c
index 2e80ff7..f6af9fa 100644
--- a/src/phbs.c
+++ b/src/phbs.c
@@ -199,7 +199,9 @@ int photorec_find_blocksize(disk_t *disk_car, partition_t *partition, const int
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));
}
if(disk_car->pread(disk_car, buffer, READ_SIZE, offset) != READ_SIZE)
{