[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>
This commit is contained in:
parent
e6c276159c
commit
2d5fe68987
@ -28,7 +28,7 @@
|
||||
* in types.h.
|
||||
*/
|
||||
#ifdef CONFIG_LBD
|
||||
#define SECTOR_FORMAT "%Lu"
|
||||
#define SECTOR_FORMAT "%llu"
|
||||
#else
|
||||
#define SECTOR_FORMAT "%lu"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user