Changes by: yura
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv16552/libntfs
Modified Files:
bootsect.c
Log Message:
o fix magicNTFS defenition
o remove NTFS_SB_MAGIC because it is unusefull
o rename magicNTFS -> NTFS_SB_MAGIC
o make bootsect.c use NTFS_SB_MAGIC instead of hardcoded value
Index: bootsect.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/bootsect.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- bootsect.c 20 Nov 2006 16:21:57 -0000 1.22
+++ bootsect.c 11 Dec 2006 03:02:23 -0000 1.23
@@ -83,7 +83,7 @@ BOOL ntfs_boot_sector_is_ntfs(NTFS_BOOT_
/* Check OEMidentifier is "NTFS " */
ntfs_log_debug("Checking OEMid... ");
- if (b->oem_id != cpu_to_le64(0x202020205346544eULL)) /* "NTFS " */
+ if (b->oem_id != NTFS_SB_MAGIC) /* "NTFS " */
goto not_ntfs;
ntfs_log_debug("OK\n");
|