diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-02-09 17:52:54 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-02-09 17:52:54 +0000 |
commit | c4ddbff70621449606fa3f0a1ad8277fac0f5aeb (patch) | |
tree | 603222e5e54f62b47219b1477efc4bfccf8a65fa /src/devices/pnp_device.c | |
parent | 4505948faec7cc30edb9daebf53ca006d4a1645a (diff) |
Remove some warnings, mainly from format strings which didn't match the
arguments.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pnp_device.c')
-rw-r--r-- | src/devices/pnp_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/pnp_device.c b/src/devices/pnp_device.c index 5740a8044a..8b5acecfcf 100644 --- a/src/devices/pnp_device.c +++ b/src/devices/pnp_device.c @@ -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; } |