diff options
author | raf <none@none> | 2006-04-24 19:31:54 -0700 |
---|---|---|
committer | raf <none@none> | 2006-04-24 19:31:54 -0700 |
commit | 39549cce7ca26676e56a84d3ef1d1f19b920e8a0 (patch) | |
tree | 06d09bf916543fdc70ac818006b0723a5e31d3f9 /usr/src | |
parent | 5730cc9a43c5f11a472d7536ed81facfd10f1e2e (diff) | |
download | illumos-joyent-39549cce7ca26676e56a84d3ef1d1f19b920e8a0.tar.gz |
6416790 libc sigflag() has its arguments reversed
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/libc/port/gen/sigflag.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libc/port/gen/sigflag.c b/usr/src/lib/libc/port/gen/sigflag.c index ce989edf6e..b11f055dca 100644 --- a/usr/src/lib/libc/port/gen/sigflag.c +++ b/usr/src/lib/libc/port/gen/sigflag.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. @@ -19,8 +18,9 @@ * * CDDL HEADER END */ + /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -29,7 +29,6 @@ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ - /* change state of signal flag */ #pragma weak sigflag = _sigflag @@ -39,7 +38,7 @@ #include <signal.h> int -sigflag(int sig, int on, int flag) +sigflag(int sig, int flag, int on) { struct sigaction sa; int v; |