remove _ from pipe; be like file

This commit is contained in:
rsc 2007-08-28 04:22:35 +00:00
parent 76f09d7dd0
commit 7834cca604
4 changed files with 12 additions and 12 deletions

View file

@ -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){