Commit 037e9dc2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Minor nits.

parent 36ad06ef
......@@ -464,7 +464,7 @@ SES_NewPool(struct pool *wp, unsigned pool_no)
pp->mpl_req = MPL_New(nb, &cache_param->req_pool,
&cache_param->workspace_client);
bprintf(nb, "sess%u", pool_no);
ses_size = sizeof (struct sess) + vsa_suckaddr_len * 2;
ses_size = sizeof (struct sess) + vsa_suckaddr_len * 2L;
pp->mpl_sess = MPL_New(nb, &cache_param->sess_pool, &ses_size);
return (pp);
}
......
......@@ -316,7 +316,7 @@ child_poker(const struct vev *e, int what)
*/
static void __match_proto__()
mgt_sigsegv_handler(int s, siginfo_t *si, void *c)
child_sigsegv_handler(int s, siginfo_t *si, void *c)
{
char buf[1024];
......@@ -414,7 +414,7 @@ mgt_launch_child(struct cli *cli)
if (mgt_param.sigsegv_handler) {
memset(&sa, 0, sizeof sa);
sa.sa_sigaction = mgt_sigsegv_handler;
sa.sa_sigaction = child_sigsegv_handler;
sa.sa_flags = SA_SIGINFO;
(void)sigaction(SIGSEGV, &sa, NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment