aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2004-11-29 14:00:08 +0000
committerColin Percival <cperciva@FreeBSD.org>2004-11-29 14:00:08 +0000
commit40ab7ed9889f672f997bf3de2c02003ddb3740cf (patch)
treebf46e54694411874f283f828bce7c0bb7c5b853c /sys
parent1734fd27b43936495222a2dbd47a45a69a7c871c (diff)
downloadsrc-40ab7ed9889f672f997bf3de2c02003ddb3740cf.tar.gz
src-40ab7ed9889f672f997bf3de2c02003ddb3740cf.zip
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
Notes
Notes: svn path=/head/; revision=138193
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 082bb0aea123..3e0346b54f72 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -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;
}