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/nouveau Use %"PRIx8", not %hx...
details: https://anonhg.NetBSD.org/src/rev/bae6a135f0fb
branches: trunk
changeset: 343329:bae6a135f0fb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Jan 29 22:25:45 2016 +0000
description:
Use %"PRIx8", not %hx, for uint8_t. %hx is for unsigned short.
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r a5c4c3768375 -r bae6a135f0fb sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c Fri Jan 29 21:46:13 2016 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c Fri Jan 29 22:25:45 2016 +0000
@@ -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 @@
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]);
}
Home |
Main Index |
Thread Index |
Old Index