Fix a typo in the signal alternate stack test where the error
message incorrectly used tss_flags instead of the correct field
name ss_flags.

This change ensures the test output accurately reflects the
structure member being checked.

Signed-off-by: Alok Tiwari <alok.a.tiw...@oracle.com>
---
 tools/testing/selftests/signal/sas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/signal/sas.c 
b/tools/testing/selftests/signal/sas.c
index 07227fab1cc98..476ffa807a61e 100644
--- a/tools/testing/selftests/signal/sas.c
+++ b/tools/testing/selftests/signal/sas.c
@@ -64,7 +64,7 @@ void my_usr1(int sig, siginfo_t *si, void *u)
                exit(EXIT_FAILURE);
        }
        if (stk.ss_flags != SS_DISABLE)
-               ksft_test_result_fail("tss_flags=%x, should be SS_DISABLE\n",
+               ksft_test_result_fail("ss_flags=%x, should be SS_DISABLE\n",
                                stk.ss_flags);
        else
                ksft_test_result_pass(
-- 
2.50.1


Reply via email to