Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern use the proper name for kdump pretty-printing.
details: https://anonhg.NetBSD.org/src/rev/a29837e7d9aa
branches: trunk
changeset: 787144:a29837e7d9aa
user: christos <christos%NetBSD.org@localhost>
date: Mon Jun 03 23:45:31 2013 +0000
description:
use the proper name for kdump pretty-printing.
diffstat:
sys/kern/uipc_syscalls.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9302184e3894 -r a29837e7d9aa sys/kern/uipc_syscalls.c
--- a/sys/kern/uipc_syscalls.c Mon Jun 03 23:25:43 2013 +0000
+++ b/sys/kern/uipc_syscalls.c Mon Jun 03 23:45:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_syscalls.c,v 1.160 2013/02/14 21:57:59 christos Exp $ */
+/* $NetBSD: uipc_syscalls.c,v 1.161 2013/06/03 23:45:31 christos Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls.c,v 1.160 2013/02/14 21:57:59 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls.c,v 1.161 2013/06/03 23:45:31 christos Exp $");
#include "opt_pipe.h"
@@ -1346,7 +1346,7 @@
if (len > addr->m_len)
len = addr->m_len;
/* Maybe this ought to copy a chain ? */
- ktrkuser("sockname", mtod(addr, void *), len);
+ ktrkuser(mbuftypes[MT_SONAME], mtod(addr, void *), len);
error = copyout(mtod(addr, void *), asa, len);
}
Home |
Main Index |
Thread Index |
Old Index