[PATCH] device-mapper: scanf sector format change

From: Alasdair G Kergon
Date: Fri Nov 18 2005 - 10:03:22 EST


Use %llu not %Lu in sscanf/printf format strings.

Signed-Off-By: Alasdair G Kergon <agk@xxxxxxxxxx>

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
-
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/