Module Name:    src
Committed By:   riastradh
Date:           Fri Jan 29 22:25:45 UTC 2016

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/nouveau: nouveau_dp.c

Log Message:
Use %"PRIx8", not %hx, for uint8_t.  %hx is for unsigned short.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c
diff -u src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c:1.1.1.2 src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c:1.2
--- src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c:1.1.1.2	Wed Aug  6 12:36:23 2014
+++ src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c	Fri Jan 29 22:25:45 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: nouveau_dp.c,v 1.1.1.2 2014/08/06 12:36:23 riastradh Exp $	*/
+/*	$NetBSD: nouveau_dp.c,v 1.2 2016/01/29 22:25:45 riastradh Exp $	*/
 
 /*
  * Copyright 2009 Red Hat Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_dp.c,v 1.1.1.2 2014/08/06 12:36:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_dp.c,v 1.2 2016/01/29 22:25:45 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_dp_helper.h>
@@ -51,11 +51,11 @@ nouveau_dp_probe_oui(struct drm_device *
 		return;
 
 	if (!nv_rdaux(auxch, DP_SINK_OUI, buf, 3))
-		NV_DEBUG(drm, "Sink OUI: %02hx%02hx%02hx\n",
+		NV_DEBUG(drm, "Sink OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n",
 			     buf[0], buf[1], buf[2]);
 
 	if (!nv_rdaux(auxch, DP_BRANCH_OUI, buf, 3))
-		NV_DEBUG(drm, "Branch OUI: %02hx%02hx%02hx\n",
+		NV_DEBUG(drm, "Branch OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n",
 			     buf[0], buf[1], buf[2]);
 
 }

Reply via email to