On Tue, 19 Sep 2000 00:11:59 +0200,
Pavel Machek <pavel@suse.cz> wrote:
>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?
If you really care about getting the exact number of leading zeroes,
this is portable (assuming 2 hex digits per byte).
printk("Trying to free nonexistent resource <%0*lx-%0*lx>\n",
2*sizeof(start), start, 2*sizeof(end), end);
-
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:22 EST