X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=dump%2Fmain.c;h=4f562f321d3d64a691d3b29c3ad5be23a8c5815a;hb=131f1e366cc229964e2ef8036b60229ea1f56af9;hp=fda5b9b35b5ca125463659d86eade510486259b1;hpb=e97372aff775bf45e9cb7f8f3070fba699cf6a8a;p=sven%2Fexfat-utils.git

diff --git a/dump/main.c b/dump/main.c
index fda5b9b..4f562f3 100644
--- a/dump/main.c
+++ b/dump/main.c
@@ -3,7 +3,7 @@
 	Prints detailed information about exFAT volume.
 
 	Free exFAT implementation.
-	Copyright (C) 2011-2016  Andrew Nayenko
+	Copyright (C) 2011-2018  Andrew Nayenko
 
 	This program is free software; you can redistribute it and/or modify
 	it under the terms of the GNU General Public License as published by
@@ -168,7 +168,7 @@ static int dump_file_fragments(const char* spec, const char* path)
 	{
 		off_t lsize;
 
-		if (CLUSTER_INVALID(cluster))
+		if (CLUSTER_INVALID(*ef.sb, cluster))
 		{
 			exfat_error("'%s' has invalid cluster %#x", path, cluster);
 			rc = 1;
@@ -226,7 +226,7 @@ int main(int argc, char* argv[])
 			break;
 		case 'V':
 			printf("dumpexfat %s\n", VERSION);
-			puts("Copyright (C) 2011-2016  Andrew Nayenko");
+			puts("Copyright (C) 2011-2018  Andrew Nayenko");
 			return 0;
 		default:
 			usage(argv[0]);