summaryrefslogtreecommitdiff
path: root/test/test_xcall.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2016-12-09 01:41:06 +0100
committerRichard Braun <rbraun@sceen.net>2016-12-09 01:41:06 +0100
commit39c13b3b84b34e0938220126c8f147d2b0b6ac89 (patch)
tree92accef33f04f49a01765e00ec026b092ae0c8ca /test/test_xcall.c
parent84c92cd2be8bc4aea6c14a186f79c2277f0fd4aa (diff)
Force brackets around one-line conditional statements
This change was done using astyle, with a few manual editing here and there.
Diffstat (limited to 'test/test_xcall.c')
-rw-r--r--test/test_xcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_xcall.c b/test/test_xcall.c
index 4c95165c..262196d7 100644
--- a/test/test_xcall.c
+++ b/test/test_xcall.c
@@ -48,8 +48,9 @@ test_once(unsigned int cpu)
printk("cross-call on cpu%u:\n", cpu);
xcall_call(test_fn, NULL, cpu);
- if (!test_done)
+ if (!test_done) {
panic("test_done false");
+ }
}
static void