[PATCH] device-mapper: scanf sector format change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-Off-By: Alasdair G Kergon <[email protected]>

Index: linux-2.6.13.1/drivers/md/dm.h
===================================================================
--- linux-2.6.13.1.orig/drivers/md/dm.h	2005-09-16 23:00:13.000000000 +0100
+++ linux-2.6.13.1/drivers/md/dm.h	2005-09-16 23:01:00.000000000 +0100
@@ -28,7 +28,7 @@
  * in types.h.
  */
 #ifdef CONFIG_LBD
-#define SECTOR_FORMAT "%Lu"
+#define SECTOR_FORMAT "%llu"
 #else
 #define SECTOR_FORMAT "%lu"
 #endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux