x86, mtrr: Constify struct mtrr_ops
[deliverable/linux.git] / drivers / base / memory.c
index d7d77d4a402cf14ca90e1a034aada06c3351bc3b..bd025059711fb2220b985ea05410a82fb41b65c2 100644 (file)
@@ -311,7 +311,7 @@ static SYSDEV_ATTR(removable, 0444, show_mem_removable, NULL);
 static ssize_t
 print_block_size(struct class *class, char *buf)
 {
-       return sprintf(buf, "%lx\n", (unsigned long)PAGES_PER_SECTION * PAGE_SIZE);
+       return sprintf(buf, "%#lx\n", (unsigned long)PAGES_PER_SECTION * PAGE_SIZE);
 }
 
 static CLASS_ATTR(block_size_bytes, 0444, print_block_size, NULL);
This page took 0.062286 seconds and 5 git commands to generate.