summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/netbsd')
-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 97fd12b848f..4504e80ba2d 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.5 1999/09/22 01:35:01 kstailey Exp $ */
+/* $OpenBSD: netbsd_stat.c,v 1.6 2001/05/14 10:51:27 art Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -207,7 +207,7 @@ netbsd_sys___fstat13(p, v, retval)
#ifndef OLD_PIPE
case DTYPE_PIPE:
- error = pipe_stat((struct pipe *)fp->f_data, &sb);
+ error = pipe_stat(fp, &sb, p);
break;
#endif