Module Name:    src
Committed By:   pooka
Date:           Fri Jan 28 16:34:31 UTC 2011

Modified Files:
        src/sys/rump/librump/rumpkern: lwproc.c

Log Message:
fill in a default name for p_comm


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/rump/librump/rumpkern/lwproc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/lwproc.c
diff -u src/sys/rump/librump/rumpkern/lwproc.c:1.10 src/sys/rump/librump/rumpkern/lwproc.c:1.11
--- src/sys/rump/librump/rumpkern/lwproc.c:1.10	Thu Jan 13 15:38:29 2011
+++ src/sys/rump/librump/rumpkern/lwproc.c	Fri Jan 28 16:34:31 2011
@@ -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);

Reply via email to