summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2006-01-06 09:20:04 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:34:00 +0100
commit2d5fe68987341a59a3fd97c71695efcabb0c6fd5 (patch)
tree232e06bc54a3a0951222b8cb0f88f8d9b3c5b583 /drivers/md/dm.h
parent[PATCH] device-mapper: remove unused definition (diff)
downloadlinux-2d5fe68987341a59a3fd97c71695efcabb0c6fd5.tar.xz
linux-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 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