[Libsysio-commit] strided-io: libsysio/drivers/native fs_native.c
Brought to you by:
lward
|
From: Lee W. <lw...@us...> - 2004-01-26 17:22:59
|
Update of /cvsroot/libsysio/libsysio/drivers/native In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26398/drivers/native Modified Files: Tag: strided-io fs_native.c Log Message: Merged with head, again, after adding Kevin Pedretti's patches. This did not go cleanly. Some remedial testing indicates no problem but... Index: fs_native.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v retrieving revision 1.25.6.4 retrieving revision 1.25.6.5 diff -u -w -b -B -p -r1.25.6.4 -r1.25.6.5 --- fs_native.c 26 Jan 2004 16:27:47 -0000 1.25.6.4 +++ fs_native.c 26 Jan 2004 17:21:51 -0000 1.25.6.5 @@ -80,7 +80,6 @@ #ifdef REDSTORM #include <sys/uio.h> -#include <catamount/syscall.h> /* ! in sys include? */ #endif /* @@ -1420,9 +1419,9 @@ native_inop_fcntl(struct inode *ino, arg = va_arg(ap, long); return syscall(SYS_fcntl, nino->ni_fd, cmd, arg); default: - abort(); + break; } - return -1; + return -EINVAL; } static int |