about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/tst-context.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 8644edae60..36ae2fa51d 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-24  Ulrich Drepper  <drepper@redhat.com>
+
+	* tst-context.c (main): Print explanation before bailing out
+	because context handling is not supported.
+
 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
 
 	* Makefile (tests): Add tst-context.
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);