Browse Source

[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>
Alasdair G Kergon 19 years ago
parent
commit
2d5fe68987
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/md/dm.h

+ 1 - 1
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