Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump PR/48413: Inappropriate sign extension in kdum...
details: https://anonhg.NetBSD.org/src/rev/2cbbee7ea1bd
branches: trunk
changeset: 791664:2cbbee7ea1bd
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 27 20:27:58 2013 +0000
description:
PR/48413: Inappropriate sign extension in kdump output
diffstat:
usr.bin/kdump/kdump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e0c96368718a -r 2cbbee7ea1bd usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c Wed Nov 27 19:54:10 2013 +0000
+++ b/usr.bin/kdump/kdump.c Wed Nov 27 20:27:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kdump.c,v 1.116 2013/01/02 19:39:04 dsl Exp $ */
+/* $NetBSD: kdump.c,v 1.117 2013/11/27 20:27:58 christos Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: kdump.c,v 1.116 2013/01/02 19:39:04 dsl Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.117 2013/11/27 20:27:58 christos Exp $");
#endif
#endif /* not lint */
@@ -1055,7 +1055,7 @@
printf("%.*s: %zu, ", KTR_USER_MAXIDLEN, name, len);
for (i = 0; i < len; i++)
- printf("%02x", (unsigned int) dta[i]);
+ printf("%02x", (unsigned char)dta[i]);
printf("\n");
}
Home |
Main Index |
Thread Index |
Old Index