aboutsummaryrefslogtreecommitdiff
path: root/posix/spawnattr_getdefault.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/spawnattr_getdefault.c')
-rw-r--r--posix/spawnattr_getdefault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/spawnattr_getdefault.c b/posix/spawnattr_getdefault.c
index e51567ba63..0b3edf9424 100644
--- a/posix/spawnattr_getdefault.c
+++ b/posix/spawnattr_getdefault.c
@@ -22,8 +22,8 @@
/* Store signal mask for signals with default handling from ATTR in
SIGDEFAULT. */
int
-posix_spawnattr_getdefault (const posix_spawnattr_t *attr,
- sigset_t *sigdefault)
+posix_spawnattr_getsigdefault (const posix_spawnattr_t *attr,
+ sigset_t *sigdefault)
{
/* Copy the sigset_t data to the user buffer. */
memcpy (sigdefault, &attr->__sd, sizeof (sigset_t));