diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-03-30 01:50:52 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-03-30 01:50:52 +0400 |
commit | 084fba647c3bf9a3e87ef7ceaf77721a358a22b8 (patch) | |
tree | e551a8b1e99ce4b8b30994a40e508f57660bfaca /newlib/libc/sys | |
parent | fac690bef7c369ea89d7d1dfdfa0c9f5ce9d9935 (diff) |
Fix reference to __mknod syscall to pass proper third argument.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/linux/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/io.c b/newlib/libc/sys/linux/io.c index 1fe1bbcfc..25dccc660 100644 --- a/newlib/libc/sys/linux/io.c +++ b/newlib/libc/sys/linux/io.c @@ -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 |