partitions/LDM: build fix
PATCH 1/1 partitions/LDM: build fix
This from a "tested" patch...
Signed-off-by Jeff Garzik <[email protected]>
fs/partitions/ldm.c +1 -1
@@ -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)) {
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
Signed-off-by Jeff Garzik <[email protected]>fs/partitions/ldm.c +1
-1@@ -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/