projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More test tweaks
[yaffs2.git]
/
direct
/
yaffs_fileem2k.c
diff --git
a/direct/yaffs_fileem2k.c
b/direct/yaffs_fileem2k.c
index 398cc0868a65ed5f041523b6700de52ec5ffb183..9ef488e3918ff4eee3b1dc34c3f85a9165f3ac6d 100644
(file)
--- a/
direct/yaffs_fileem2k.c
+++ b/
direct/yaffs_fileem2k.c
@@
-16,7
+16,7
@@
* This is only intended as test code to test persistence etc.
*/
* This is only intended as test code to test persistence etc.
*/
-const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.2
0 2009-10-15 00:45:46
charles Exp $";
+const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.2
1 2009-11-07 22:35:15
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-82,7
+82,7
@@
static void yflash2_MaybePowerFail(unsigned int chunkInNAND, int failPoint)
if(simulate_power_failure &&
remaining_ops < 1){
printf("Simulated power failure after %d operations\n",nops_so_far);
if(simulate_power_failure &&
remaining_ops < 1){
printf("Simulated power failure after %d operations\n",nops_so_far);
- printf("
Fail simulat
ed on chunkInNAND %d, at fail point %d\n",
+ printf("
power fail
ed on chunkInNAND %d, at fail point %d\n",
chunkInNAND, failPoint);
exit(0);
}
chunkInNAND, failPoint);
exit(0);
}