fileincref -> filedup (consistent with idup)

This commit is contained in:
rsc 2007-08-27 14:35:09 +00:00
parent 7895178df3
commit 1ccff18b24
4 changed files with 9 additions and 9 deletions

View file

@ -83,7 +83,7 @@ sys_dup(void)
return -1;
if((fd=fdalloc(f)) < 0)
return -1;
fileincref(f);
filedup(f);
return fd;
}