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:
Ruslan Ermilov 2000-08-30 14:43:02 +00:00
parent 6159b9dd5b
commit 3e065e76ac

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