Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Some casts in printf().
details: https://anonhg.NetBSD.org/src/rev/cca03b0aae07
branches: trunk
changeset: 532082:cca03b0aae07
user: augustss <augustss%NetBSD.org@localhost>
date: Fri May 31 10:54:34 2002 +0000
description:
Some casts in printf().
diffstat:
sys/dev/pci/cs4280.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 93435152a171 -r cca03b0aae07 sys/dev/pci/cs4280.c
--- a/sys/dev/pci/cs4280.c Fri May 31 10:53:34 2002 +0000
+++ b/sys/dev/pci/cs4280.c Fri May 31 10:54:34 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cs4280.c,v 1.19 2001/11/15 09:48:11 lukem Exp $ */
+/* $NetBSD: cs4280.c,v 1.20 2002/05/31 10:54:34 augustss Exp $ */
/*
* Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.19 2001/11/15 09:48:11 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.20 2002/05/31 10:54:34 augustss Exp $");
#include "midi.h"
@@ -733,7 +733,7 @@
}
if (DMAADDR(p) % sc->dma_align != 0 ) {
printf("cs4280_trigger_output: DMAADDR(p)=0x%lx does not start"
- "4kB align\n", DMAADDR(p));
+ "4kB align\n", (ulong)DMAADDR(p));
return EINVAL;
}
@@ -817,7 +817,7 @@
}
if (DMAADDR(p) % sc->dma_align != 0) {
printf("cs4280_trigger_input: DMAADDR(p)=0x%lx does not start"
- "4kB align\n", DMAADDR(p));
+ "4kB align\n", (ulong)DMAADDR(p));
return EINVAL;
}
Home |
Main Index |
Thread Index |
Old Index