Fixed the bug that div_bind() always returned zero

even if there was an error (broken in rev 1.9).
This commit is contained in:
ru 2000-08-30 14:43:02 +00:00
parent cea09e03a4
commit 789ebca13b

View File

@ -423,7 +423,7 @@ div_bind(struct socket *so, struct sockaddr *nam, struct proc *p)
error = in_pcbbind(inp, nam, p);
}
splx(s);
return 0;
return error;
}
static int