summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_stat.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-15 08:04:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-15 08:04:32 +0000
commitca7e903831aad6f10517f38662a952d672d58e19 (patch)
treea6e9fe6d83c8a662b062da680a9bde8fcfdcdaf3 /sys/compat/netbsd/netbsd_stat.c
parentae62fae3088aef3a096169e0201d0152ea1d0853 (diff)
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.c4
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);