Fix reference to __mknod syscall to pass proper third argument.

This commit is contained in:
Jeff Johnston 2006-03-29 21:50:52 +00:00
parent fac690bef7
commit 084fba647c

View File

@ -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) int mkfifo(const char *path, mode_t mode)
{ {
dev_t dev = 0; dev_t dev = 0;
return __mknod(path, mode | S_IFIFO, &dev); return __mknod(path, mode | S_IFIFO, dev);
} }
#endif #endif