summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-10-02 17:16:57 +0200
committerAlon Levy <alevy@redhat.com>2012-10-19 13:59:02 +0200
commit0f711b132c61906148f2ed078f4a315bbeb9e78a (patch)
treef28a056c9a248caaa84c37f747ef7ec6dd78dc5e
parent12572189d63bfe3dae0a02e9ce37010644a70acc (diff)
qxl: fix printf format specifiers
-rw-r--r--drivers/gpu/drm/qxl/qxl_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_object.c b/drivers/gpu/drm/qxl/qxl_object.c
index ad32b408b7e..e544ba35d95 100644
--- a/drivers/gpu/drm/qxl/qxl_object.c
+++ b/drivers/gpu/drm/qxl/qxl_object.c
@@ -64,7 +64,7 @@ int qxl_bo_create(struct qxl_device *qdev,
if (size > PAGE_SIZE)
size = (size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1);
else {
- printk_once("lost %d bytes (%ld -> %ld)\n",
+ printk_once("lost %ld bytes (%ld -> %ld)\n",
PAGE_SIZE - size, size, PAGE_SIZE);
size = PAGE_SIZE;
}