diff options
author | Stef <stef@memberwebs.com> | 2010-11-17 00:35:37 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2010-12-01 03:56:37 +0000 |
commit | 8dc7f827a869256bc6b5755b165e89935678ba6d (patch) | |
tree | d172b95eb7f106a6ebec5fd8524b182b94ca8be7 /src | |
parent | 12b64409c638668b837cd0a5affa2dbb37fe75e6 (diff) |
Print out sector as we do raw scrounge.
Diffstat (limited to 'src')
-rw-r--r-- | src/scrounge.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) |