__release_region() printf format

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Mon Sep 18 2000 - 09:16:41 EST


__release_region() always uses `%04lx', while start and end may be larger
(e.g. for release_mem_region()).

--- linux-2.4.0-test9-pre2/kernel/resource.c.orig Mon Jul 17 15:24:34 2000
+++ linux-2.4.0-test9-pre2/kernel/resource.c Mon Sep 18 16:15:33 2000
@@ -288,7 +288,7 @@
                 }
                 p = &res->sibling;
         }
- printk("Trying to free nonexistent resource <%04lx-%04lx>\n", start, end);
+ printk("Trying to free nonexistent resource <%08lx-%08lx>\n", start, end);
 }
 
 /*

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:17 EST