Use %llu not %Lu in sscanf/printf format strings. Signed-Off-By: Alasdair G Kergon Index: linux-2.6.13.1/drivers/md/dm.h =================================================================== --- linux-2.6.13.1.orig/drivers/md/dm.h 2005-09-16 23:00:13.000000000 +0100 +++ linux-2.6.13.1/drivers/md/dm.h 2005-09-16 23:01:00.000000000 +0100 @@ -28,7 +28,7 @@ * in types.h. */ #ifdef CONFIG_LBD -#define SECTOR_FORMAT "%Lu" +#define SECTOR_FORMAT "%llu" #else #define SECTOR_FORMAT "%lu" #endif