summary refs log tree commit diff
path: root/sysdeps/x86/tst-cet-legacy-6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/tst-cet-legacy-6.c')
-rw-r--r--sysdeps/x86/tst-cet-legacy-6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86/tst-cet-legacy-6.c b/sysdeps/x86/tst-cet-legacy-6.c
index 877e77747d..bdbbb9075f 100644
--- a/sysdeps/x86/tst-cet-legacy-6.c
+++ b/sysdeps/x86/tst-cet-legacy-6.c
@@ -35,7 +35,8 @@ do_test_1 (const char *modname, bool fail)
       if (fail)
 	{
 	  const char *err = dlerror ();
-	  if (strstr (err, "shadow stack isn't enabled") == NULL)
+	  if (strstr (err, "rebuild shared object with SHSTK support enabled")
+	      == NULL)
 	    {
 	      printf ("incorrect dlopen '%s' error: %s\n", modname,
 		      err);