summaryrefslogtreecommitdiff
path: root/pipe.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 18:38:56 +0000
committerrsc <rsc>2006-09-06 18:38:56 +0000
commit39593d2f1aab1355d61b75c041b31a88d2043a04 (patch)
tree12f6a0ff59c925e6f412e5fdb506484da513fd39 /pipe.c
parent89ebd895b8d1efe2d562971e6cdcb6571982b5b1 (diff)
downloadxv6-labs-39593d2f1aab1355d61b75c041b31a88d2043a04.tar.gz
xv6-labs-39593d2f1aab1355d61b75c041b31a88d2043a04.tar.bz2
xv6-labs-39593d2f1aab1355d61b75c041b31a88d2043a04.zip
struct fd -> struct file
Diffstat (limited to 'pipe.c')
-rw-r--r--pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pipe.c b/pipe.c
index a1c9001..2864432 100644
--- a/pipe.c
+++ b/pipe.c
@@ -19,7 +19,7 @@ struct pipe {
};
int
-pipe_alloc(struct fd **fd1, struct fd **fd2)
+pipe_alloc(struct file **fd1, struct file **fd2)
{
*fd1 = *fd2 = 0;
struct pipe *p = 0;