remove _ from pipe; be like file
This commit is contained in:
parent
76f09d7dd0
commit
7834cca604
4 changed files with 12 additions and 12 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue