summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-04-16 16:24:15 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-04-16 16:24:15 +0000
commit7ed10938f665257aae0fa1c61661c9b31f6508b3 (patch)
tree9dac7c0c471c8eeb2df7fc48e45a541e48d6a627 /sys/dev
parentdd1a15a8fcd0567f15c73be325d5863bc16d17ca (diff)
fix types in two error printfs. one of these also had a %d bug no vararg
for it, oops.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915_drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index 95c038ef0d1..5d1888635bc 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -1899,8 +1899,8 @@ i915_write_fence_reg(struct inteldrm_fence *reg)
if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) ||
(obj_priv->gtt_offset & (obj->size - 1))) {
- DRM_ERROR("%s: object 0x%08x not 1M or size (0x%zx) aligned\n",
- __func__, obj_priv->gtt_offset, obj->size);
+ DRM_ERROR("object 0x%lx not 1M or size (0x%zx) aligned\n",
+ obj_priv->gtt_offset, obj->size);
return;
}
@@ -1940,8 +1940,8 @@ i830_write_fence_reg(struct inteldrm_fence *reg)
if ((obj_priv->gtt_offset & ~I830_FENCE_START_MASK) ||
(obj_priv->gtt_offset & (obj->size - 1))) {
- DRM_ERROR("object 0x%08x not 512K or size aligned\n",
- obj_priv->gtt_offset);
+ DRM_ERROR("object 0x%08x not 512K or size aligned 0x%lx\n",
+ obj_priv->gtt_offset, obj->size);
return;
}