projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Fixing some minor warnings in direct/timothy_tests/linux_tests
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_read_EINVAL.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
b/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
index 57f47fb8db34f42aadb3cdb6084c68f1c177e86e..873f0127171a4d46f8112faefcd432e56c3afd20 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
@@
-20,7
+20,7
@@
int test_yaffs_read_EINVAL(void)
{
int error_code = 0;
handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE);
{
int error_code = 0;
handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE);
- char text[2000000]
="\0"
;
+ char text[2000000];
int output=0;
if (handle<0){
int output=0;
if (handle<0){
@@
-113,7
+113,7
@@
int test_yaffs_read_EINVAL_init(void)
return -1;
}
return -1;
}
- strc
at
(file_name,YAFFS_MOUNT_POINT);
+ strc
py
(file_name,YAFFS_MOUNT_POINT);
for (x=strlen(YAFFS_MOUNT_POINT); x<file_name_length -1; x++){
file_name[x]='a';
}
for (x=strlen(YAFFS_MOUNT_POINT); x<file_name_length -1; x++){
file_name[x]='a';
}