diff options
author | cperciva <cperciva@FreeBSD.org> | 2004-11-29 14:00:08 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2004-11-29 14:00:08 +0000 |
commit | cdc87f254a4564cf00ce035684a9f34a8a1ac07f (patch) | |
tree | bf46e54694411874f283f828bce7c0bb7c5b853c /sys/kern/vfs_export.c | |
parent | e0db77dfe1c468c3507c5a1c4dfa51498f9731b7 (diff) | |
download | FreeBSD-src-cdc87f254a4564cf00ce035684a9f34a8a1ac07f.zip FreeBSD-src-cdc87f254a4564cf00ce035684a9f34a8a1ac07f.tar.gz |
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
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 082bb0a..3e0346b 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; } |