summaryrefslogtreecommitdiff
path: root/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cancel.c')
-rw-r--r--cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cancel.c b/cancel.c
index 5b7ff1a..2e95b3d 100644
--- a/cancel.c
+++ b/cancel.c
@@ -194,7 +194,7 @@ pthread_testcancel (void)
#ifdef __cplusplus
- throw pthread_exception;
+ throw Pthread_exception();
#endif /* __cplusplus */