Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/kdump For Mach messages, always display the message ...



details:   https://anonhg.NetBSD.org/src/rev/16b092122a52
branches:  trunk
changeset: 555471:16b092122a52
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Nov 18 14:21:59 2003 +0000

description:
For Mach messages, always display the message Id in decimal. The information
is indeed in the message, but in hex. It's a bit inconvenient.

diffstat:

 usr.bin/kdump/kdump.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ed081126e78f -r 16b092122a52 usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c     Tue Nov 18 14:11:33 2003 +0000
+++ b/usr.bin/kdump/kdump.c     Tue Nov 18 14:21:59 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kdump.c,v 1.67 2003/11/18 13:21:53 dsl Exp $   */
+/*     $NetBSD: kdump.c,v 1.68 2003/11/18 14:21:59 manu 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.67 2003/11/18 13:21:53 dsl Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.68 2003/11/18 14:21:59 manu Exp $");
 #endif
 #endif /* not lint */
 
@@ -874,7 +874,7 @@
        }
 
        if ((service_name = mach_service_name(id)) != NULL)
-               printf("%s%s\n", service_name, reply);
+               printf("%s%s [%d]\n", service_name, reply, mmsg->ktr_id);
        else 
                printf("unknown service%s [%d]\n", reply, mmsg->ktr_id);
 



Home | Main Index | Thread Index | Old Index