summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setmode.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-28 11:58:18 +0000
committerbapt <bapt@FreeBSD.org>2015-10-28 11:58:18 +0000
commitc21ffb8d6aca32c9584cfa072f309a5890a21aea (patch)
treec13556877cfa7b8f6941e8141a6801cf91e72840 /lib/libc/gen/setmode.c
parentec14b01dd8898deebe0427357d842721add8e34c (diff)
parent39fb527bf90f6a5cb03d93bd49c310bbca016a45 (diff)
downloadFreeBSD-src-c21ffb8d6aca32c9584cfa072f309a5890a21aea.zip
FreeBSD-src-c21ffb8d6aca32c9584cfa072f309a5890a21aea.tar.gz
Merge from head
Sponsored by: Gandi.net
Diffstat (limited to 'lib/libc/gen/setmode.c')
-rw-r--r--lib/libc/gen/setmode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/setmode.c b/lib/libc/gen/setmode.c
index 815cf14..7525567 100644
--- a/lib/libc/gen/setmode.c
+++ b/lib/libc/gen/setmode.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#endif
#include "un-namespace.h"
+#include "libc_private.h"
#define SET_LEN 6 /* initial # of bitcmd struct to malloc */
#define SET_LEN_INCR 4 /* # of bitcmd structs to add as needed */
@@ -364,9 +365,9 @@ getumask(void)
* handler, protect them as best we can.
*/
sigfillset(&sigset);
- (void)_sigprocmask(SIG_BLOCK, &sigset, &sigoset);
+ (void)__libc_sigprocmask(SIG_BLOCK, &sigset, &sigoset);
(void)umask(mask = umask(0));
- (void)_sigprocmask(SIG_SETMASK, &sigoset, NULL);
+ (void)__libc_sigprocmask(SIG_SETMASK, &sigoset, NULL);
return (mask);
}
OpenPOWER on IntegriCloud