diff options
Diffstat (limited to 'sys/netatalk/at_control.c')
-rw-r--r-- | sys/netatalk/at_control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index 8b499f57ab6..bc297d4fa2e 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at_control.c,v 1.4 2002/03/14 01:27:10 millert Exp $ */ +/* $OpenBSD: at_control.c,v 1.5 2003/09/02 16:57:29 tedu Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -142,7 +142,7 @@ at_control( cmd, data, ifp, p ) * What a great idea this is: Let's reverse the meaning of * the return... */ - if ( suser( p->p_ucred, &p->p_acflag )) { + if ( suser( p, 0 )) { return( EPERM ); } |