Module Name: src Committed By: tsutsui Date: Sat Oct 13 06:35:54 UTC 2012
Modified Files: src/sys/arch/sun3/dev: zs_kgdb.c Log Message: Add a cast to print dev_t. (broken since 64bit dev_t change?) from chs@ XXX: probably no one will use this... To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sun3/dev/zs_kgdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sun3/dev/zs_kgdb.c diff -u src/sys/arch/sun3/dev/zs_kgdb.c:1.25 src/sys/arch/sun3/dev/zs_kgdb.c:1.26 --- src/sys/arch/sun3/dev/zs_kgdb.c:1.25 Mon Apr 28 20:23:38 2008 +++ src/sys/arch/sun3/dev/zs_kgdb.c Sat Oct 13 06:35:54 2012 @@ -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 @@ zs_kgdb_init(void) 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));