summaryrefslogtreecommitdiff
path: root/fs/fd.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-20 20:51:57 +0200
committerMiguel <m.i@gmx.at>2018-09-20 20:51:57 +0200
commitaeefdb37d1fc1c0eb7953b9c196cab09460bc167 (patch)
tree513789d7fd28b65afb594e9605975bd10ea06f74 /fs/fd.c
parent763f85c55fdb5a2c4f5bf98e4989a69d27da6e4f (diff)
we are now prepared for piping with _pipe and _dup2
Diffstat (limited to 'fs/fd.c')
-rw-r--r--fs/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fd.c b/fs/fd.c
index 1936f37..f8981a5 100644
--- a/fs/fd.c
+++ b/fs/fd.c
@@ -178,7 +178,7 @@ int fds_from_pipe(fd pipefds[2])
wrt.type=FD_TYPE_PIPE;
read.data=kballoc(1);
- wrt.data=read.type;
+ wrt.data=read.data;
ringbuffer r=ringbuffer_init(1);