[Libsysio-commit] cplant: libsysio/drivers/native fs_native.c
Brought to you by:
lward
|
From: Ruth K. <rk...@us...> - 2003-08-06 17:17:03
|
Update of /cvsroot/libsysio/libsysio/drivers/native
In directory sc8-pr-cvs1:/tmp/cvs-serv31841
Modified Files:
Tag: cplant
fs_native.c
Log Message:
merge change from head
Index: fs_native.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v
retrieving revision 1.8.2.6
retrieving revision 1.8.2.7
diff -u -w -b -B -p -r1.8.2.6 -r1.8.2.7
--- fs_native.c 1 Aug 2003 18:49:11 -0000 1.8.2.6
+++ fs_native.c 6 Aug 2003 16:46:10 -0000 1.8.2.7
@@ -1035,7 +1035,7 @@ native_inop_unlink(struct pnode *pno)
* (usually .NFSXXXXXX, where the X's are replaced by the PID and some
* unique characters) in order to simulate the proper semantic.
*/
- if (!syscall(SYS_unlink, path))
+ if (syscall(SYS_unlink, path) != 0)
err = -errno;
free(path);
return err;
|