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:
Colin Percival 2004-11-29 14:00:08 +00:00
parent 1734fd27b4
commit 40ab7ed988
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138193

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;
}