X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_fileem.c;fp=direct%2Fyaffs_fileem.c;h=6f93972c813aad938550278a44b39555f1916d0a;hp=c2ae5e1e5e46346c963e5c7e9f5fe068cf38b39d;hb=d8675be9fabcfb48c92ba0e818762d69299c7b7c;hpb=6ce07c3f6215ce6a4f4b7fe520ef48e8cf71c7cb diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c index c2ae5e1..6f93972 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.4 2008-07-21 01:03:19 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.5 2009-01-12 00:49:01 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("emfile512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); + filedisk.handle = open("emfile-512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); if(filedisk.handle < 0) {