Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/pmax fix printf formats.
details: https://anonhg.NetBSD.org/src/rev/089c116e5e7b
branches: trunk
changeset: 355176:089c116e5e7b
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 16 17:35:20 2017 +0000
description:
fix printf formats.
diffstat:
sys/arch/pmax/pmax/bus.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (46 lines):
diff -r acef1548b3f0 -r 089c116e5e7b sys/arch/pmax/pmax/bus.c
--- a/sys/arch/pmax/pmax/bus.c Sun Jul 16 17:12:18 2017 +0000
+++ b/sys/arch/pmax/pmax/bus.c Sun Jul 16 17:35:20 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.c,v 1.2 2017/05/18 16:34:56 christos Exp $ */
+/* $NetBSD: bus.c,v 1.3 2017/07/16 17:35:20 christos Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.2 2017/05/18 16:34:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.3 2017/07/16 17:35:20 christos Exp $");
#include "opt_cputype.h"
@@ -117,10 +117,10 @@
#ifdef DIAGNOSTIC
if (offset >= map->dm_mapsize)
- panic("_bus_dmamap_sync_r3k: bad offset %lu (map size is %lu)",
- offset, map->dm_mapsize);
+ panic("%s: bad offset %ju (map size is %ju)", __func__,
+ (uintmax_t)offset, (uintmax_t)map->dm_mapsize);
if (len == 0 || (offset + len) > map->dm_mapsize)
- panic("_bus_dmamap_sync_r3k: bad length");
+ panic("%s: bad length", __func__);
#endif
/*
@@ -222,10 +222,10 @@
#ifdef DIAGNOSTIC
if (offset >= map->dm_mapsize)
- panic("_bus_dmamap_sync_r4k: bad offset %lu (map size is %lu)",
- offset, map->dm_mapsize);
+ panic("%s: bad offset %ju (map size is %ju)", __func__,
+ (uintmax_t)offset, (uintmax_t)map->dm_mapsize);
if (len == 0 || (offset + len) > map->dm_mapsize)
- panic("_bus_dmamap_sync_r4k: bad length");
+ panic("%s: bad length", __func__);
#endif
/*
Home |
Main Index |
Thread Index |
Old Index