diff options
author | 2001-05-15 08:04:31 +0000 | |
---|---|---|
committer | 2001-05-15 08:04:31 +0000 | |
commit | 05ca2c48f64d0dd65bafae949e52174517ccc530 (patch) | |
tree | 0e060de46ecd55e3616cd5622f69c1e12c565f9d /sys/compat/netbsd/netbsd_stat.c | |
parent | LIST_FOREACH instead of manually doing the same thing. (diff) | |
download | wireguard-openbsd-05ca2c48f64d0dd65bafae949e52174517ccc530.tar.xz wireguard-openbsd-05ca2c48f64d0dd65bafae949e52174517ccc530.zip |
just call me Theo "Fix bugs Art puts in the kernel" de Raadt
Diffstat (limited to 'sys/compat/netbsd/netbsd_stat.c')
-rw-r--r-- | sys/compat/netbsd/netbsd_stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/netbsd/netbsd_stat.c b/sys/compat/netbsd/netbsd_stat.c index e8a82fe9210..ae723394700 100644 --- a/sys/compat/netbsd/netbsd_stat.c +++ b/sys/compat/netbsd/netbsd_stat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netbsd_stat.c,v 1.10 2001/05/14 13:28:22 art Exp $ */ +/* $OpenBSD: netbsd_stat.c,v 1.11 2001/05/15 08:04:31 deraadt Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -196,7 +196,7 @@ netbsd_sys___fstat13(p, v, retval) (fp = fdp->fd_ofiles[fd]) == NULL) return (EBADF); - error = (*fp->f_ops->fo_stat)(fp, &ub, p); + error = (*fp->f_ops->fo_stat)(fp, &sb, p); if (error) return (error); openbsd_to_netbsd_stat(&sb, &nsb); |