X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_fileem.c;h=6f93972c813aad938550278a44b39555f1916d0a;hp=98af7eec181b0378da7e2f37da2c398d685b093a;hb=a6f6a1bb6ff2b876047173be7cec28a1e1faaaa4;hpb=170ea32c52fd2d9b7cbda9b169ad44038b1d15cf diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c index 98af7ee..6f93972 100644 --- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -17,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.2 2007-02-12 16:49:50 wookey 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" @@ -84,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("emfile-512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); if(filedisk.handle < 0) {