From: Alasdair G Kergon Date: Fri, 6 Jan 2006 08:20:04 +0000 (-0800) Subject: [PATCH] device-mapper: scanf sector format change X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d5fe68987341a59a3fd97c71695efcabb0c6fd5;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] device-mapper: scanf sector format change Use %llu not %Lu in sscanf/printf format strings. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/dm.h b/drivers/md/dm.h index ab078a249396..95a0cfbe5b4d 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -28,7 +28,7 @@ * in types.h. */ #ifdef CONFIG_LBD -#define SECTOR_FORMAT "%Lu" +#define SECTOR_FORMAT "%llu" #else #define SECTOR_FORMAT "%lu" #endif