summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/sigaltstack.cc
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-01-27 18:26:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-27 18:27:20 -0800
commit5776a7b6f6b52faf6e0735c3f4a892639c1bd773 (patch)
tree608f7d112154a25b2168b08f7c081f851494609e /test/syscalls/linux/sigaltstack.cc
parentdb68c85ab707b992c27d66b095165a33a621dc2d (diff)
Fix header ordering and format all C++ code.
PiperOrigin-RevId: 291844200
Diffstat (limited to 'test/syscalls/linux/sigaltstack.cc')
-rw-r--r--test/syscalls/linux/sigaltstack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syscalls/linux/sigaltstack.cc b/test/syscalls/linux/sigaltstack.cc
index 62b04ef1d..24e7c4960 100644
--- a/test/syscalls/linux/sigaltstack.cc
+++ b/test/syscalls/linux/sigaltstack.cc
@@ -168,8 +168,8 @@ TEST(SigaltstackTest, WalksOffBottom) {
// Trigger a single fault.
badhandler_low_water_mark =
- static_cast<char*>(stack.ss_sp) + SIGSTKSZ; // Expected top.
- badhandler_recursive_faults = 0; // Disable refault.
+ static_cast<char*>(stack.ss_sp) + SIGSTKSZ; // Expected top.
+ badhandler_recursive_faults = 0; // Disable refault.
Fault();
EXPECT_TRUE(badhandler_on_sigaltstack);
EXPECT_THAT(sigaltstack(nullptr, &stack), SyscallSucceeds());