Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16954/libntfs
Modified Files:
device.c
Log Message:
Another fix for OSX.
Index: device.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/device.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- device.c 3 Feb 2006 23:40:39 -0000 1.26
+++ device.c 3 Feb 2006 23:55:40 -0000 1.27
@@ -715,6 +715,9 @@ int ntfs_device_block_size_set(struct nt
return 0;
}
#else
+ /* If not a block device, pretend it was successful. */
+ if (!NDevBlock(dev))
+ return 0;
errno = EOPNOTSUPP;
#endif
return -1;
|