From fc42c722db79ec9aa2da4ffafd3c2eb2482518d7 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Fri, 28 Jun 2013 15:29:23 +0200 Subject: [PATCH 2/3] Use appropriate format string. The variable is an unsigned long, so use %lu. --- src/via_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/via_driver.c b/src/via_driver.c index 89e1c8c..dc956f5 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -826,7 +826,7 @@ via_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) goto fail; xf86DrvMsg(scrn->scrnIndex, X_INFO, - "Allocate new frame buffer %dx%d stride %d\n", + "Allocate new frame buffer %dx%d stride %lu\n", width, height, new_front->pitch); new_pixels = drm_bo_map(scrn, new_front); -- 1.8.3.1