Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/usr.bin/ktruss Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/8e9fd0146416
branches: netbsd-6
changeset: 773906:8e9fd0146416
user: riz <riz%NetBSD.org@localhost>
date: Thu Mar 08 17:48:59 2012 +0000
description:
Pull up following revision(s) (requested by matt in ticket #99):
usr.bin/ktruss/dump.c: revision 1.41
Need to cast to intrptr_t before casting a register_t to void * (since
register_t might be wider than a void *).
diffstat:
usr.bin/ktruss/dump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 67539ebb6a6c -r 8e9fd0146416 usr.bin/ktruss/dump.c
--- a/usr.bin/ktruss/dump.c Thu Mar 08 17:40:16 2012 +0000
+++ b/usr.bin/ktruss/dump.c Thu Mar 08 17:48:59 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dump.c,v 1.39.2.1 2012/03/05 19:12:07 sborrill Exp $ */
+/* $NetBSD: dump.c,v 1.39.2.2 2012/03/08 17:48:59 riz Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#endif
-__RCSID("$NetBSD: dump.c,v 1.39.2.1 2012/03/05 19:12:07 sborrill Exp $");
+__RCSID("$NetBSD: dump.c,v 1.39.2.2 2012/03/08 17:48:59 riz Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -635,7 +635,7 @@
} else
switch (ktr->ktr_code) {
case SYS_mmap:
- wprintf(" = %p", (void *)ret);
+ wprintf(" = %p", (void *)(intptr_t)ret);
break;
default:
wprintf(" = %ld", (long)ret);
Home |
Main Index |
Thread Index |
Old Index