diff options
Diffstat (limited to 'usr/src/lib/libc/sparc/gen/swapctxt.c')
| -rw-r--r-- | usr/src/lib/libc/sparc/gen/swapctxt.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/usr/src/lib/libc/sparc/gen/swapctxt.c b/usr/src/lib/libc/sparc/gen/swapctxt.c index ed77d3042b..8c052ca843 100644 --- a/usr/src/lib/libc/sparc/gen/swapctxt.c +++ b/usr/src/lib/libc/sparc/gen/swapctxt.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,14 +19,14 @@ * CDDL HEADER END */ -/* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ - /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* Copyright (c) 1988 AT&T */ +/* All Rights Reserved */ + #pragma ident "%Z%%M% %I% %E% SMI" #pragma weak swapcontext = _swapcontext @@ -42,7 +41,7 @@ swapcontext(ucontext_t *oucp, const ucontext_t *nucp) { greg_t *reg; - if (__getcontext_syscall(oucp)) + if (__getcontext(oucp)) return (-1); /* |
