summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sigaltstack/sas.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/sigaltstack/sas.c')
-rw-r--r--tools/testing/selftests/sigaltstack/sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sigaltstack/sas.c b/tools/testing/selftests/sigaltstack/sas.c
index 4280d0699792..1bb01258e559 100644
--- a/tools/testing/selftests/sigaltstack/sas.c
+++ b/tools/testing/selftests/sigaltstack/sas.c
@@ -18,7 +18,7 @@
#include <errno.h>
#ifndef SS_AUTODISARM
-#define SS_AUTODISARM (1 << 4)
+#define SS_AUTODISARM (1U << 31)
#endif
static void *sstack, *ustack;
OpenPOWER on IntegriCloud