Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/dev Add a cast to print dev_t. (broken since 6...
details: https://anonhg.NetBSD.org/src/rev/3a0cffc025ae
branches: trunk
changeset: 782024:3a0cffc025ae
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 13 06:35:54 2012 +0000
description:
Add a cast to print dev_t. (broken since 64bit dev_t change?) from chs@
XXX: probably no one will use this...
diffstat:
sys/arch/sun3/dev/zs_kgdb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f97c357a9f8d -r 3a0cffc025ae sys/arch/sun3/dev/zs_kgdb.c
--- a/sys/arch/sun3/dev/zs_kgdb.c Sat Oct 13 06:32:11 2012 +0000
+++ b/sys/arch/sun3/dev/zs_kgdb.c Sat Oct 13 06:35:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs_kgdb.c,v 1.25 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: zs_kgdb.c,v 1.26 2012/10/13 06:35:54 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs_kgdb.c,v 1.25 2008/04/28 20:23:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs_kgdb.c,v 1.26 2012/10/13 06:35:54 tsutsui Exp $");
#include "opt_kgdb.h"
@@ -143,7 +143,7 @@
zsc_unit = (kgdb_dev & 2) ? 0 : 1;
channel = kgdb_dev & 1;
printf("zs_kgdb_init: attaching tty%c at %d baud\n",
- 'a' + (kgdb_dev & 3), kgdb_rate);
+ 'a' + ((int)kgdb_dev & 3), kgdb_rate);
/* Setup temporary chanstate. */
memset((void *)&cs, 0, sizeof(cs));
Home |
Main Index |
Thread Index |
Old Index