summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/ddp_usrreq.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-04-27 12:21:16 +0000
committerphk <phk@FreeBSD.org>1999-04-27 12:21:16 +0000
commitc85ea5017c00c71172e6cfb5bd1cd171837b5812 (patch)
treeaca6b1fc91e0bab42a5779a3281ed2200865e0ec /sys/netatalk/ddp_usrreq.c
parenta6d35492b341c0b95e74bb23a0f1d29bdf6b9fa5 (diff)
downloadFreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.zip
FreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.tar.gz
Change suser_xxx() to suser() where it applies.
Diffstat (limited to 'sys/netatalk/ddp_usrreq.c')
-rw-r--r--sys/netatalk/ddp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c
index d35fcdf..9fa9789 100644
--- a/sys/netatalk/ddp_usrreq.c
+++ b/sys/netatalk/ddp_usrreq.c
@@ -252,7 +252,7 @@ at_pcbsetaddr(struct ddpcb *ddp, struct sockaddr *addr, struct proc *p)
return( EINVAL );
}
if ( sat->sat_port < ATPORT_RESERVED &&
- suser_xxx( p->p_ucred, &p->p_acflag ) ) {
+ suser(p) ) {
return( EACCES );
}
}
OpenPOWER on IntegriCloud