diff options
Diffstat (limited to 'sys/pc98/pc98/fd.c')
-rw-r--r-- | sys/pc98/pc98/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index 7d6c8bb..5a5d338 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.c @@ -47,7 +47,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.53 1999/04/06 03:12:22 peter Exp $ + * $Id: fd.c,v 1.54 1999/04/18 14:42:16 kato Exp $ * */ @@ -2717,7 +2717,7 @@ fdioctl(dev, cmd, addr, flag, p) case FD_STYPE: /* set drive type */ /* this is considered harmful; only allow for superuser */ - if (suser(p->p_ucred, &p->p_acflag) != 0) + if (suser(p) != 0) return EPERM; *fd->ft = *(struct fd_type *)addr; break; |