--- ntfsprogs/ntfsck.c.old 2013-01-13 07:46:35.000000000 +0100 +++ ntfsprogs/ntfsck.c 2013-04-13 12:04:06.000000000 +0200 @@ -616,9 +616,9 @@ // Remove update seq & check it. usa = *(u16*)(buffer+usa_ofs); // The value that should be at the end of every sector. - assert_u32_equal(usa_count-1, buflen/bytes_per_sector, "USA length"); + assert_u32_equal(usa_count-1, buflen/NTFS_BLOCK_SIZE, "USA length"); for (i=1;i