From e0f1ee22b9aae014c8dcdf1ba98bbdaffb716b0d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 25 Apr 2004 23:55:49 +0000 Subject: Fixes. Updates --- src/list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/list.c') diff --git a/src/list.c b/src/list.c index fc30ac0..faeeecd 100644 --- a/src/list.c +++ b/src/list.c @@ -38,6 +38,7 @@ int printNTFSInfo(int dd, uint64 tblSector) size_t sz; ntfs_bootsector* boot; + /* TODO: Check the range and don't print if out of range */ pos = SECTOR_TO_BYTES(tblSector); if(lseek64(dd, pos, SEEK_SET) == -1) @@ -130,6 +131,7 @@ void scroungeListDrive(char* drive) if(dd == -1) err(1, "couldn't open drive: %s", drive); + printf(kPrintData); printf(kPrintDrivePath, drive); printPartitionInfo(dd, 0); close(dd); -- cgit v1.2.3