Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Make a panic format 32bit safe.
details: https://anonhg.NetBSD.org/src/rev/2d893bee6d03
branches: trunk
changeset: 551989:2d893bee6d03
user: martin <martin%NetBSD.org@localhost>
date: Mon Sep 15 07:38:22 2003 +0000
description:
Make a panic format 32bit safe.
diffstat:
sys/arch/sparc64/dev/iommu.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c4a207efe5fd -r 2d893bee6d03 sys/arch/sparc64/dev/iommu.c
--- a/sys/arch/sparc64/dev/iommu.c Mon Sep 15 06:39:20 2003 +0000
+++ b/sys/arch/sparc64/dev/iommu.c Mon Sep 15 07:38:22 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iommu.c,v 1.67 2003/09/08 17:23:15 petrov Exp $ */
+/* $NetBSD: iommu.c,v 1.68 2003/09/15 07:38:22 martin Exp $ */
/*
* Copyright (c) 2001, 2002 Eduardo Horvath
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.67 2003/09/08 17:23:15 petrov Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.68 2003/09/15 07:38:22 martin Exp $");
#include "opt_ddb.h"
@@ -967,7 +967,8 @@
}
if (i == map->dm_nsegs)
- panic("iommu_dvmamap_sync: segment too short %lu", offset);
+ panic("iommu_dvmamap_sync: segment too short %llu",
+ (unsigned long long)offset);
if (ops & (BUS_DMASYNC_PREREAD | BUS_DMASYNC_POSTWRITE)) {
/* Nothing to do */;
Home |
Main Index |
Thread Index |
Old Index