Commit 592a6770 authored by Ben Widawsky's avatar Ben Widawsky

drm-atomic: Fix print type for modifiers

Seems work better than
commit 88858d32
Author: Lucas Stach <>
Date:   Fri Apr 28 18:18:52 2017 +0200

    common: use %llx to print modifier
Signed-off-by: 's avatarBen Widawsky <>
parent ac7e6c72
......@@ -22,6 +22,7 @@
#include <errno.h>
#include <inttypes.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -73,7 +74,7 @@ struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo)
if (modifiers[0]) {
printf("Using modifier %llx\n", modifiers[0]);
printf("Using modifier %" PRIx64 "\n", modifiers[0]);
ret = drmModeAddFB2WithModifiers(drm_fd, width, height,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment