Changes by: flatcap
Update of /cvsroot/linux-ntfs/linux-ntfs/ntfstools
In directory usw-pr-cvs1:/tmp/cvs-serv18383
Modified Files:
mkntfs.c
Log Message:
fixed sector/cluster typo
Index: mkntfs.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/ntfstools/mkntfs.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -U2 -r1.32 -r1.33
--- mkntfs.c 2001/06/13 11:47:05 1.32
+++ mkntfs.c 2001/06/13 11:51:17 1.33
@@ -5,4 +5,5 @@
*
* Copyright (c) 2000,2001 Anton Altaparmakov.
+ * Copyright (C) 2001 Richard Russon
*
* This utility will create an NTFS 1.2 (Windows NT 4.0) volume on a user
@@ -3303,6 +3304,6 @@
* large enough.
*/
- if (opt.nr_sectors < (lcn_bitmap_byte_size << 3))
- ntfs_set_bit(lcn_bitmap, opt.nr_sectors, 1);
+ if (opt.nr_clusters < (lcn_bitmap_byte_size << 3))
+ ntfs_set_bit(lcn_bitmap, opt.nr_clusters, 1);
//dump_mft_record(m);
Dprintf("Creating $BadClus (mft record 8)\n");
|