Remove some warnings, mainly from format strings which didn't match the
[coreboot.git] / src / devices / pnp_device.c
index 5740a8044a0f11a1c744f7228058412552ce9d5f..8b5acecfcf766f0aa30496f17e3b69d17febb70f 100644 (file)
@@ -103,7 +103,7 @@ void pnp_read_resources(device_t dev)
 static void pnp_set_resource(device_t dev, struct resource *resource)
 {
        if (!(resource->flags & IORESOURCE_ASSIGNED)) {
-               printk_err("ERROR: %s %02x %s size: 0x%010Lx not assigned\n",
+               printk_err("ERROR: %s %02lx %s size: 0x%010Lx not assigned\n",
                        dev_path(dev), resource->index,
                        resource_type(resource),
                        resource->size);
@@ -121,7 +121,7 @@ static void pnp_set_resource(device_t dev, struct resource *resource)
                pnp_set_irq(dev, resource->index, resource->base);
        }
        else {
-               printk_err("ERROR: %s %02x unknown resource type\n",
+               printk_err("ERROR: %s %02lx unknown resource type\n",
                        dev_path(dev), resource->index);
                return;
        }