Re: [PATCH] partitions/LDM: build fix

From: Anton Altaparmakov
Date: Tue May 22 2007 - 03:18:06 EST


On 22 May 2007, at 05:28, Jeff Garzik wrote:
This from a "tested" patch...

I had already posted a fix earlier:

From: Anton Altaparmakov <aia21@xxxxxxxxx>
Subject: Fix to the fix! - Re: [2.6 PATCH] LDM: Fix for Windows Vista dynamic disks
Date: 21 May 2007 21:13:37 BDT

Signed-off-by: Jeff Garzik <jeff@xxxxxxxxxx>

diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c
index c387812..99873a2 100644
--- a/fs/partitions/ldm.c
+++ b/fs/partitions/ldm.c
@@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data, struct privhead *ph)
/* Warn the user and continue, carefully. */
ldm_info("Database is normally %u bytes, it claims to "
"be %llu bytes.", LDM_DB_SIZE,
- udunsigned long long)ph->config_size);
+ (unsigned long long)ph->config_size);
}
if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
ph->logical_disk_size > ph->config_start)) {

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/