Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 fix incorrect printf format (off_t needs t)



details:   https://anonhg.NetBSD.org/src/rev/f76cb50a4238
branches:  trunk
changeset: 324715:f76cb50a4238
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 16 23:10:41 2018 +0000

description:
fix incorrect printf format (off_t needs t)

diffstat:

 sys/arch/arm/arm32/bus_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 66d054677bcc -r f76cb50a4238 sys/arch/arm/arm32/bus_dma.c
--- a/sys/arch/arm/arm32/bus_dma.c      Mon Jul 16 23:07:31 2018 +0000
+++ b/sys/arch/arm/arm32/bus_dma.c      Mon Jul 16 23:10:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.108 2018/04/27 07:53:07 maxv Exp $       */
+/*     $NetBSD: bus_dma.c,v 1.109 2018/07/16 23:10:41 christos Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #include "opt_cputypes.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.108 2018/04/27 07:53:07 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.109 2018/07/16 23:10:41 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -1496,7 +1496,7 @@
 
        for (i = 0; i < nsegs; i++) {
                KASSERTMSG((off & PAGE_MASK) == 0,
-                   "off %#qx (%#x)", off, (int)off & PAGE_MASK);
+                   "off %#tx (%#x)", off, (int)off & PAGE_MASK);
                KASSERTMSG((segs[i].ds_addr & PAGE_MASK) == 0,
                    "ds_addr %#lx (%#x)", segs[i].ds_addr,
                    (int)segs[i].ds_addr & PAGE_MASK);



Home | Main Index | Thread Index | Old Index