diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/wordexp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/wordexp.c b/posix/wordexp.c index 49ab71d6c2..a36d2f9651 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -1186,7 +1186,7 @@ parse_comm (char **word, size_t *word_length, size_t *max_length, // XXX Ideally we do want the thread being cancelable. // XXX If demand is there we'll change it. int state = PTHREAD_CANCEL_ENABLE; - __libc_ptf_call (pthread_setcancelstate, + __libc_ptf_call (__pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), 0); #endif @@ -1194,7 +1194,8 @@ parse_comm (char **word, size_t *word_length, size_t *max_length, flags, pwordexp, ifs, ifs_white); #ifdef __libc_ptf_call - __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); + __libc_ptf_call (__pthread_setcancelstate, + (state, NULL), 0); #endif free (comm); |