From fac690bef7c369ea89d7d1dfdfa0c9f5ce9d9935 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 29 Mar 2006 21:49:58 +0000 Subject: 2006-03-29 Jeff Johnston * libc/sys/linux/io.c (__mknod): Fix declaration of syscall to pass a dev_t as third argument rather than a pointer to dev_t. --- newlib/libc/sys/linux/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc') diff --git a/newlib/libc/sys/linux/io.c b/newlib/libc/sys/linux/io.c index d6731144a..1fe1bbcfc 100644 --- a/newlib/libc/sys/linux/io.c +++ b/newlib/libc/sys/linux/io.c @@ -65,7 +65,7 @@ int flock(int fd,int operation) #if !defined(_ELIX_LEVEL) || _ELIX_LEVEL >= 3 -static _syscall3(int,__mknod,const char *,path,mode_t,mode,dev_t *,dev) +static _syscall3(int,__mknod,const char *,path,mode_t,mode,dev_t,dev) int mkfifo(const char *path, mode_t mode) { -- cgit v1.2.3