X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fyaffs_fileem.c;h=c2ae5e1e5e46346c963e5c7e9f5fe068cf38b39d;hb=3797c6edfef9bef80f70001b14ee636b0309895a;hp=30128d9d4cc675ab47d2a98f8e5857eae0d671c4;hpb=e1ac494e05a5dc7ab61d799af815d103a11d318c;p=yaffs2.git diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c index 30128d9..c2ae5e1 100644 --- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -16,7 +16,7 @@ * This is only intended as test code to test persistence etc. */ -const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.3 2007-02-14 01:09:06 wookey Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.4 2008-07-21 01:03:19 charles Exp $"; #include "yportenv.h" @@ -83,7 +83,7 @@ static int CheckInit(yaffs_Device *dev) filedisk.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024); - filedisk.handle = open("yaffsemfile", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); + filedisk.handle = open("emfile512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); if(filedisk.handle < 0) {