Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Fix 64-bit printf.



details:   https://anonhg.NetBSD.org/src/rev/1ecec3816c8b
branches:  trunk
changeset: 992827:1ecec3816c8b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:55:28 2018 +0000

description:
Fix 64-bit printf.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dcb9078035ba -r 1ecec3816c8b sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c Mon Aug 27 07:55:17 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c Mon Aug 27 07:55:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_fbdev.c,v 1.7 2018/08/27 06:16:37 riastradh Exp $        */
+/*     $NetBSD: intel_fbdev.c,v 1.8 2018/08/27 07:55:28 riastradh Exp $        */
 
 /*
  * Copyright © 2007 David Airlie
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_fbdev.c,v 1.7 2018/08/27 06:16:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_fbdev.c,v 1.8 2018/08/27 07:55:28 riastradh Exp $");
 
 #include <linux/async.h>
 #include <linux/module.h>
@@ -317,7 +317,7 @@
 
        /* Use default scratch pixmap (info->pixmap.flags = FB_PIXMAP_SYSTEM) */
 
-       DRM_DEBUG_KMS("allocated %dx%d fb: 0x%08llx, bo %p\n",
+       DRM_DEBUG_KMS("allocated %dx%d fb: 0x%08"PRIx64", bo %p\n",
                      fb->width, fb->height,
                      i915_gem_obj_ggtt_offset(obj), obj);
 



Home | Main Index | Thread Index | Old Index