summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2006-01-06 00:20:04 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:34:00 -0800
commit2d5fe68987341a59a3fd97c71695efcabb0c6fd5 (patch)
tree232e06bc54a3a0951222b8cb0f88f8d9b3c5b583 /drivers/md/dm.h
parente6c276159c812ab25f47b7c7b683a5c97c442dd5 (diff)
downloadkernel-crypto-2d5fe68987341a59a3fd97c71695efcabb0c6fd5.tar.gz
kernel-crypto-2d5fe68987341a59a3fd97c71695efcabb0c6fd5.tar.xz
kernel-crypto-2d5fe68987341a59a3fd97c71695efcabb0c6fd5.zip
[PATCH] device-mapper: scanf sector format change
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>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index ab078a24939..95a0cfbe5b4 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