Skip to contentSkip to conversation

partitions/LDM: build fix

PATCH In review Jeff Garzik 2 participants 2 messages May 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 partitions/LDM: build fix

This from a "tested" patch...

fs/partitions/ldm.c +1 -1
index c387812..99873a2 100644
@@ -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)) {
#1 lore raw
Quoted 1 line · Jeff Garzik

This from a "tested" patch...

I had already posted a fix earlier:

From: Anton Altaparmakov <[email protected]>
Subject: Fix to the fix! - Re: [2.6 PATCH] LDM: Fix for Windows
Vista dynamic disks

	Date: 	21 May 2007 21:13:37 BDT
Quoted 15 lines
fs/partitions/ldm.c +1 -1
index c387812..99873a2 100644
@@ -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 +
Quoted 1 line

ph->logical_disk_size > ph->config_start)) {

Best regards,

Anton

Signature · 3 lines
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/