aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/tst-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-context.c')
-rw-r--r--linuxthreads/tst-context.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/tst-context.c b/linuxthreads/tst-context.c
index cf4783dec1..82a877cffe 100644
--- a/linuxthreads/tst-context.c
+++ b/linuxthreads/tst-context.c
@@ -67,7 +67,10 @@ main (void)
if (getcontext (&mctx) != 0)
{
if (errno == ENOSYS)
- exit (0);
+ {
+ puts ("context handling not supported");
+ exit (0);
+ }
printf ("%s: getcontext: %m\n", __FUNCTION__);
exit (1);