Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern fill in a default name for p_comm
details: https://anonhg.NetBSD.org/src/rev/ebcc5e77587c
branches: trunk
changeset: 761459:ebcc5e77587c
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 28 16:34:31 2011 +0000
description:
fill in a default name for p_comm
diffstat:
sys/rump/librump/rumpkern/lwproc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 4cc14f9959ed -r ebcc5e77587c sys/rump/librump/rumpkern/lwproc.c
--- a/sys/rump/librump/rumpkern/lwproc.c Fri Jan 28 16:12:22 2011 +0000
+++ b/sys/rump/librump/rumpkern/lwproc.c Fri Jan 28 16:34:31 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwproc.c,v 1.10 2011/01/13 15:38:29 pooka Exp $ */
+/* $NetBSD: lwproc.c,v 1.11 2011/01/28 16:34:31 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.10 2011/01/13 15:38:29 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.11 2011/01/28 16:34:31 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -115,6 +115,7 @@
p->p_vmspace = vmspace_kernel();
p->p_emul = &emul_netbsd;
+ strcpy(p->p_comm, "rumproc");
if ((flags & RUMP_RFCFDG) == 0)
KASSERT(parent == curproc);
Home |
Main Index |
Thread Index |
Old Index