From 356b9231a1cfd2f7c233cd116ad51738cdf9f50a Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Tue, 16 Jul 2019 16:34:49 -0400 Subject: [PATCH] drm: Amend printf format. fb->offset is an off_t aka unsigned long. Signed-off-by: Eric Chanudet (cherry picked from commit f4c49703aec966f889d932c33e34eca66b465fb2) Signed-off-by: Eric Chanudet --- plugins/drm/src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/drm/src/utils.h b/plugins/drm/src/utils.h index 0a9e7ab..22122ea 100644 --- a/plugins/drm/src/utils.h +++ b/plugins/drm/src/utils.h @@ -142,7 +142,7 @@ static inline void framebuffer_dump(const char *indent, const struct framebuffer if (!fb) { DRM_DBG("%sframebuffer (%p) = { }", indent, fb); } else { - DRM_DBG("%sframebuffer (%p) = { %ux%u %u/%ubpp, %u stride, %u bytes, @%p:%lld }", + DRM_DBG("%sframebuffer (%p) = { %ux%u %u/%ubpp, %u stride, %u bytes, @%p:%ld }", indent, fb, fb->width, fb->height, fb->bpp, fb->depth, fb->pitch, fb->size, fb->map, fb->offset);