From 1fabd22ddb6c56069f18aac2e0ac14b29a48566c Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 28 Sep 2006 17:02:41 +0000 Subject: [PATCH] Log the volume name to help in debugging. --- macosx/Torrent.m | 1 + 1 file changed, 1 insertion(+) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 81a747a4e..4f4dfdc6e 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -423,6 +423,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue], torrentRemaining = [self size] * (uint64_t)(1.0 - [self progress]); + NSLog(@"Volume: %@", [[[NSFileManager defaultManager] componentsToDisplayForPath: [self dataLocation]] objectAtIndex: 0]); NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]); NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]);