summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef <stef@memberwebs.com>2010-11-17 00:35:37 +0000
committerStef Walter <stef@thewalter.net>2010-12-01 03:56:37 +0000
commit8dc7f827a869256bc6b5755b165e89935678ba6d (patch)
treed172b95eb7f106a6ebec5fd8524b182b94ca8be7 /src
parent12b64409c638668b837cd0a5affa2dbb37fe75e6 (diff)
Print out sector as we do raw scrounge.
Diffstat (limited to 'src')
-rw-r--r--src/scrounge.c6
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)