Messages in this thread |  | | Date | Tue, 19 Sep 2000 00:11:59 +0200 | From | Pavel Machek <> | Subject | Re: __release_region() printf format |
| |
Hi!
> __release_region() always uses `%04lx', while start and end may be larger > (e.g. for release_mem_region()).
What about making it %lx-%lx without any numbers? Pavel
> --- 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,
-- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org - 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/
|  |