#endif
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.22 2008-08-19 23:14:22 charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.24 2008-11-11 01:47:46 charles Exp $";
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
// Check if the object is already in use
alreadyOpen = alreadyExclusive = 0;
- for(i = 0; i <= YAFFSFS_N_HANDLES; i++)
+ for(i = 0; i < YAFFSFS_N_HANDLES; i++)
{
if(i != handle &&
static int yaffsfs_DoChMod(yaffs_Object *obj,mode_t mode)
{
- int result;
+ int result = -1;
if(obj)
{