summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-14 10:51:28 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-14 10:51:28 +0000
commit79a7474f3a12e31e9c0d6d36e0bbd46918bdff21 (patch)
tree1d65b40721e1dd9578bfae1aa493d0ee47989fe3 /sys/compat/netbsd
parentb296e0990d987b38fe241c1b0f52cd3f04a94d72 (diff)
More generic arguments to pipe_stat.
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