Sigh. I really need to get an internet connection which is less than

2km away from where I'm living, so that I can fix these typos sooner.

s/SA_MAX/AF_MAX/ is previous commit.

Reported by:	marcus, ups, Yiawei Ye, dwhite
This commit is contained in:
cperciva 2004-11-29 14:00:08 +00:00
parent e0db77dfe1
commit cdc87f254a

View File

@ -129,7 +129,7 @@ vfs_hang_addrlist(mp, nep, argp)
saddr = (struct sockaddr *) (np + 1);
if ((error = copyin(argp->ex_addr, saddr, argp->ex_addrlen)))
goto out;
if (saddr->sa_family > SA_MAX) {
if (saddr->sa_family > AF_MAX) {
error = EINVAL;
goto out;
}