Fix reference to __mknod syscall to pass proper third argument.
This commit is contained in:
parent
fac690bef7
commit
084fba647c
@ -70,7 +70,7 @@ static _syscall3(int,__mknod,const char *,path,mode_t,mode,dev_t,dev)
|
||||
int mkfifo(const char *path, mode_t mode)
|
||||
{
|
||||
dev_t dev = 0;
|
||||
return __mknod(path, mode | S_IFIFO, &dev);
|
||||
return __mknod(path, mode | S_IFIFO, dev);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user