aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux32/linux32_sysvec.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-03-23 17:28:04 +0000
committerEd Maste <emaste@FreeBSD.org>2018-03-23 17:28:04 +0000
commitad448975e6282fd5d663e6850ff8105fd794af33 (patch)
treee1910a21a86319bb9a0e91d40e8b7dfaa8dd0971 /sys/amd64/linux32/linux32_sysvec.c
parent98bd8a108dcc136c6db63ee8241760387dbc6ba4 (diff)
downloadsrc-ad448975e6282fd5d663e6850ff8105fd794af33.tar.gz
src-ad448975e6282fd5d663e6850ff8105fd794af33.zip
Fixup return style(9) in amd64 linux*_sysvec.c
Sponsored by: Turing Robotic Industries Inc.
Notes
Notes: svn path=/head/; revision=331442
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index c62ffc33ceb0..c9f6a6210725 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -193,15 +193,15 @@ static int
linux_translate_traps(int signal, int trap_code)
{
if (signal != SIGBUS)
- return signal;
+ return (signal);
switch (trap_code) {
case T_PROTFLT:
case T_TSSFLT:
case T_DOUBLEFLT:
case T_PAGEFLT:
- return SIGSEGV;
+ return (SIGSEGV);
default:
- return signal;
+ return (signal);
}
}