Module Name:    src
Committed By:   pooka
Date:           Wed Nov 10 11:14:12 UTC 2010

Modified Files:
        src/tests/lib/semaphore: sem.c

Log Message:
Now that copyinstr() correctly returns error, trim the semaphore
name to fit into SEM_MAX_NAMELEN.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/semaphore/sem.c

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

Modified files:

Index: src/tests/lib/semaphore/sem.c
diff -u src/tests/lib/semaphore/sem.c:1.6 src/tests/lib/semaphore/sem.c:1.7
--- src/tests/lib/semaphore/sem.c:1.6	Sat Jul  3 08:18:30 2010
+++ src/tests/lib/semaphore/sem.c	Wed Nov 10 11:14:12 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sem.c,v 1.6 2010/07/03 08:18:30 jmmv Exp $	*/
+/*	$NetBSD: sem.c,v 1.7 2010/11/10 11:14:12 pooka Exp $	*/
 
 /*
  * Common code for semaphore tests.  This can be included both into
@@ -207,7 +207,7 @@
  * Wow, easy naming rules.  it's these times i'm really happy i can
  * single-step into the kernel.
  */
-#define SEM1 "/my_precious_sem"
+#define SEM1 "/precious_sem"
 #define SEM2 "/justsem"
 ATF_TC_BODY(named, tc)
 {

Reply via email to