Commit 2d5fe689 authored by Alasdair G Kergon's avatar Alasdair G Kergon Committed by Linus Torvalds

[PATCH] device-mapper: scanf sector format change

Use %llu not %Lu in sscanf/printf format strings.
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e6c27615
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* in types.h. * in types.h.
*/ */
#ifdef CONFIG_LBD #ifdef CONFIG_LBD
#define SECTOR_FORMAT "%Lu" #define SECTOR_FORMAT "%llu"
#else #else
#define SECTOR_FORMAT "%lu" #define SECTOR_FORMAT "%lu"
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment