Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libp2k Expand rump curlwp macro.



details:   https://anonhg.NetBSD.org/src/rev/385d121d1e37
branches:  trunk
changeset: 748101:385d121d1e37
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Oct 13 20:06:38 2009 +0000

description:
Expand rump curlwp macro.

diffstat:

 lib/libp2k/p2k.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 826145a9aa2f -r 385d121d1e37 lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c  Tue Oct 13 19:28:31 2009 +0000
+++ b/lib/libp2k/p2k.c  Tue Oct 13 20:06:38 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index