Skip to contentSkip to conversation

device-mapper: scanf sector format change

PATCH New Alasdair G Kergon 1 participant 1 message Nov 18, 2005 Device mapper

lore
Share & tools
lore

Alasdair G Kergon

author maintainer
#0 lore raw

PATCH 1/1 device-mapper: scanf sector format change

Use %llu not %Lu in sscanf/printf format strings.

drivers/md/dm.h +1 -1
Index: linux-2.6.13.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