Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump format SI_QUEUE properly.
details: https://anonhg.NetBSD.org/src/rev/cd5f203db9d9
branches: trunk
changeset: 760648:cd5f203db9d9
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 10 05:15:17 2011 +0000
description:
format SI_QUEUE properly.
diffstat:
usr.bin/kdump/kdump.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r 7a63aa5d061b -r cd5f203db9d9 usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c Mon Jan 10 05:15:00 2011 +0000
+++ b/usr.bin/kdump/kdump.c Mon Jan 10 05:15:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kdump.c,v 1.105 2010/08/08 18:31:50 chs Exp $ */
+/* $NetBSD: kdump.c,v 1.106 2011/01/10 05:15:17 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.105 2010/08/08 18:31:50 chs Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.106 2011/01/10 05:15:17 christos Exp $");
#endif
#endif /* not lint */
@@ -936,12 +936,12 @@
if (si->si_code < 0) {
switch (si->si_code) {
case SI_TIMER:
- printf(": code=SI_TIMER sigval %p)\n",
- si->si_value.sival_ptr);
+ case SI_QUEUE:
+ printf(": code=%s sent by pid=%d, uid=%d with "
+ "sigval %p)\n", si->si_code == SI_TIMER ?
+ "SI_TIMER" : "SI_QUEUE", si->si_pid,
+ si->si_uid, si->si_value.sival_ptr);
return;
- case SI_QUEUE:
- code = "SI_QUEUE";
- break;
case SI_ASYNCIO:
code = "SI_ASYNCIO";
break;
Home |
Main Index |
Thread Index |
Old Index