From 8dc7f827a869256bc6b5755b165e89935678ba6d Mon Sep 17 00:00:00 2001 From: Stef Date: Wed, 17 Nov 2010 00:35:37 +0000 Subject: Print out sector as we do raw scrounge. --- src/scrounge.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/scrounge.c b/src/scrounge.c index 05f7fd7..cbbb875 100644 --- a/src/scrounge.c +++ b/src/scrounge.c @@ -634,6 +634,12 @@ void scroungeUsingRaw(partitioninfo* pi) if(checkLocationLock(&locks, sec)) continue; +#ifdef _WIN32 + fprintf(stderr, "sector: %I64u\r", sec); +#else + fprintf(stderr, "sector: %llu\r", (unsigned long long)sec); +#endif + /* Read the record */ pos = SECTOR_TO_BYTES(sec); if(lseek64(pi->device, pos, SEEK_SET) == -1) -- cgit v1.2.3