summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 04:22:35 +0000
committerrsc <rsc>2007-08-28 04:22:35 +0000
commit7834cca60426ea156822ba05d702cf56a914467d (patch)
tree31b30e67a8df5e70fc5605abc6dac0912f489f20 /sysfile.c
parent76f09d7dd00f84bf69f7b83983c3b4843223f616 (diff)
downloadxv6-labs-7834cca60426ea156822ba05d702cf56a914467d.tar.gz
xv6-labs-7834cca60426ea156822ba05d702cf56a914467d.tar.bz2
xv6-labs-7834cca60426ea156822ba05d702cf56a914467d.zip
remove _ from pipe; be like file
Diffstat (limited to 'sysfile.c')
-rw-r--r--sysfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfile.c b/sysfile.c
index d18aa1b..0b7cb9e 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -379,7 +379,7 @@ sys_pipe(void)
if(argptr(0, (void*)&fd, 2*sizeof(fd[0])) < 0)
return -1;
- if(pipe_alloc(&rf, &wf) < 0)
+ if(pipealloc(&rf, &wf) < 0)
return -1;
fd0 = -1;
if((fd0 = fdalloc(rf)) < 0 || (fd1 = fdalloc(wf)) < 0){