Skip to content

Commit

Permalink
[PATCH] device-mapper: scanf sector format change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alasdair G Kergon authored and Linus Torvalds committed Jan 6, 2006
1 parent e6c2761 commit 2d5fe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* in types.h.
*/
#ifdef CONFIG_LBD
#define SECTOR_FORMAT "%Lu"
#define SECTOR_FORMAT "%llu"
#else
#define SECTOR_FORMAT "%lu"
#endif
Expand Down

0 comments on commit 2d5fe68

Please sign in to comment.