Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common Use 'curlwp' here insteald of the 'l' - wh...



details:   https://anonhg.NetBSD.org/src/rev/495cc5a36c26
branches:  trunk
changeset: 765761:495cc5a36c26
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Jun 05 09:37:10 2011 +0000

description:
Use 'curlwp' here insteald of the 'l' - which isn't passsed as an arg
to the #define, but will always be curlwp.

diffstat:

 sys/compat/common/compat_sigaltstack.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f9995cdb496c -r 495cc5a36c26 sys/compat/common/compat_sigaltstack.h
--- a/sys/compat/common/compat_sigaltstack.h    Sun Jun 05 09:04:22 2011 +0000
+++ b/sys/compat/common/compat_sigaltstack.h    Sun Jun 05 09:37:10 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: compat_sigaltstack.h,v 1.2 2007/06/16 20:04:27 dsl Exp $        */
+/*      $NetBSD: compat_sigaltstack.h,v 1.3 2011/06/05 09:37:10 dsl Exp $        */
 
 /* Wrapper for calling sigaltstack1() from compat (or other) code */
 
@@ -34,7 +34,7 @@
                            | (css.ss_flags & ss_disable ? SS_DISABLE : 0); \
        } \
 \
-       error = sigaltstack1(l, SCARG_COMPAT_PTR(uap, nss) ? &nss : 0, \
+       error = sigaltstack1(curlwp, SCARG_COMPAT_PTR(uap, nss) ? &nss : 0, \
                                SCARG_COMPAT_PTR(uap, oss) ? &oss : 0); \
        if (error) \
                return (error); \



Home | Main Index | Thread Index | Old Index