summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/pcmcia_/cardmgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/pcmcia_/cardmgr.c b/mdk-stage1/pcmcia_/cardmgr.c
index 1db18b55b..ea3ff127e 100644
--- a/mdk-stage1/pcmcia_/cardmgr.c
+++ b/mdk-stage1/pcmcia_/cardmgr.c
@@ -1259,9 +1259,9 @@ static void adjust_resources(void)
if (ret != 0) {
switch (al->adj.Resource) {
case RES_MEMORY_RANGE:
- sprintf(tmp, "memory %#lx-%#lx",
- al->adj.resource.memory.Base,
- al->adj.resource.memory.Base +
+ sprintf(tmp, "memory %p-%p",
+ (char *)al->adj.resource.memory.Base,
+ (char *)al->adj.resource.memory.Base +
al->adj.resource.memory.Size - 1);
break;
case RES_IO_RANGE: