Skip to content

Commit

Permalink
OS-3572 lxbrand fix various sigwaitinfo failures (fix cstyle)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Perkin committed Nov 19, 2014
1 parent 1f1f316 commit ca656b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions usr/src/lib/brand/lx/lx_brand/common/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,8 @@ lx_rt_sigwaitinfo(uintptr_t set, uintptr_t sinfo, uintptr_t setsize)
if (s_sinfop == NULL)
return (stol_signo[rc]);

return ((stol_siginfo(s_sinfop, sinfop) != 0) ? -errno : stol_signo[rc]);
return ((stol_siginfo(s_sinfop, sinfop) != 0)
? -errno : stol_signo[rc]);
}

long
Expand Down Expand Up @@ -891,7 +892,8 @@ lx_rt_sigtimedwait(uintptr_t set, uintptr_t sinfo, uintptr_t toutp,
if (s_sinfop == NULL)
return (stol_signo[rc]);

return ((stol_siginfo(s_sinfop, sinfop) != 0) ? -errno : stol_signo[rc]);
return ((stol_siginfo(s_sinfop, sinfop) != 0)
? -errno : stol_signo[rc]);
}

#if defined(_ILP32)
Expand Down

0 comments on commit ca656b1

Please sign in to comment.