Module Name: src
Committed By: pooka
Date: Tue Oct 13 20:06:38 UTC 2009
Modified Files:
src/lib/libp2k: p2k.c
Log Message:
Expand rump curlwp macro.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libp2k/p2k.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libp2k/p2k.c
diff -u src/lib/libp2k/p2k.c:1.21 src/lib/libp2k/p2k.c:1.22
--- src/lib/libp2k/p2k.c:1.21 Fri Oct 9 16:37:30 2009
+++ src/lib/libp2k/p2k.c Tue Oct 13 20:06:38 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.21 2009/10/09 16:37:30 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.22 2009/10/13 20:06:38 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -126,7 +126,7 @@
cred = cred_create(pcn->pcn_cred);
/* LINTED: prehistoric types in first two args */
return rump_makecn(pcn->pcn_nameiop, pcn->pcn_flags | myflags,
- pcn->pcn_name, pcn->pcn_namelen, cred, curlwp);
+ pcn->pcn_name, pcn->pcn_namelen, cred, rump_get_curlwp());
}
static __inline void