Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common in debug log, data dump is more usef...



details:   https://anonhg.NetBSD.org/src/rev/2facae8ebca3
branches:  trunk
changeset: 569685:2facae8ebca3
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Aug 29 20:10:42 2004 +0000

description:
in debug log, data dump is more useful unsigned

diffstat:

 sys/compat/linux/common/linux_socket.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2757134950f4 -r 2facae8ebca3 sys/compat/linux/common/linux_socket.c
--- a/sys/compat/linux/common/linux_socket.c    Sun Aug 29 17:40:12 2004 +0000
+++ b/sys/compat/linux/common/linux_socket.c    Sun Aug 29 20:10:42 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_socket.c,v 1.50 2003/10/25 18:38:42 christos Exp $       */
+/*     $NetBSD: linux_socket.c,v 1.51 2004/08/29 20:10:42 jdolecek Exp $       */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.50 2003/10/25 18:38:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.51 2004/08/29 20:10:42 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -1533,7 +1533,7 @@
 #ifdef DEBUG_LINUX
        DPRINTF(("family %d, len = %d [ ", sa->sa_family, sa->sa_len));
        for (bdom = 0; bdom < sizeof(sa->sa_data); bdom++)
-           DPRINTF(("%02x ", sa->sa_data[bdom]));
+           DPRINTF(("%02x ", (unsigned char) sa->sa_data[bdom]));
        DPRINTF(("\n"));
 #endif
 



Home | Main Index | Thread Index | Old Index