[PATCH] device-mapper: scanf sector format change
authorAlasdair G Kergon <agk@redhat.com>
Fri, 6 Jan 2006 08:20:04 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:00 +0000 (08:34 -0800)
Use %llu not %Lu in sscanf/printf format strings.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm.h

index ab078a249396d4ab72f21a5cec43fc2d48c0b7ea..95a0cfbe5b4d93b6e5e928774e942323282d266c 100644 (file)
@@ -28,7 +28,7 @@
  * in types.h.
  */
 #ifdef CONFIG_LBD
-#define SECTOR_FORMAT "%Lu"
+#define SECTOR_FORMAT "%llu"
 #else
 #define SECTOR_FORMAT "%lu"
 #endif