Module Name: src
Committed By: pgoyette
Date: Wed Aug 11 11:46:32 UTC 2010
Modified Files:
src/sys/kern: sys_pipe.c
Log Message:
Keep condvar wmesg within 8-char limit
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/kern/sys_pipe.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/kern/sys_pipe.c
diff -u src/sys/kern/sys_pipe.c:1.127 src/sys/kern/sys_pipe.c:1.128
--- src/sys/kern/sys_pipe.c:1.127 Sun Dec 20 09:36:06 2009
+++ src/sys/kern/sys_pipe.c Wed Aug 11 11:46:32 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_pipe.c,v 1.127 2009/12/20 09:36:06 dsl Exp $ */
+/* $NetBSD: sys_pipe.c,v 1.128 2010/08/11 11:46:32 pgoyette Exp $ */
/*-
* Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.127 2009/12/20 09:36:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.128 2010/08/11 11:46:32 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -211,10 +211,10 @@
pipe->pipe_kmem = va;
atomic_add_int(&amountpipekva, PIPE_SIZE);
}
- cv_init(&pipe->pipe_rcv, "piperd");
- cv_init(&pipe->pipe_wcv, "pipewr");
- cv_init(&pipe->pipe_draincv, "pipedrain");
- cv_init(&pipe->pipe_lkcv, "pipelk");
+ cv_init(&pipe->pipe_rcv, "pipe_rd");
+ cv_init(&pipe->pipe_wcv, "pipe_wr");
+ cv_init(&pipe->pipe_draincv, "pipe_drn");
+ cv_init(&pipe->pipe_lkcv, "pipe_lk");
selinit(&pipe->pipe_sel);
pipe->pipe_state = PIPE_SIGNALR;