projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Update year to 2011 in copyrights etc.
[yaffs2.git]
/
direct
/
basic-test
/
dtest.c
diff --git
a/direct/basic-test/dtest.c
b/direct/basic-test/dtest.c
index db38cb50fce44e39e25369994098e3170874ade4..f8c617005b857434b5c31b3e62eba09e761f7426 100644
(file)
--- a/
direct/basic-test/dtest.c
+++ b/
direct/basic-test/dtest.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-2516,7
+2516,7
@@
static void print_xattrib_val(const char *path, const char *name)
n = yaffs_getxattr(path,name,buffer,sizeof(buffer));
if(n >= 0){
n = yaffs_getxattr(path,name,buffer,sizeof(buffer));
if(n >= 0){
-
__u8 *b = (__
u8 *)buffer;
+
u8 *b = (
u8 *)buffer;
printf("%d bytes:",n);
if(n > 10)
printf("%d bytes:",n);
if(n > 10)
@@
-2642,7
+2642,7
@@
void big_xattr_test(const char *mountpt)
}
}
-void dump_dev_stats(
yaffs_dev_t
*dev, const char * str)
+void dump_dev_stats(
struct yaffs_dev
*dev, const char * str)
{
printf("%s\n",str);
printf( "space free %d erased %d "
{
printf("%s\n",str);
printf( "space free %d erased %d "
@@
-2658,7
+2658,7
@@
void test_flash_traffic(const char *mountpt)
char name0[100];
char name1[100];
int i;
char name0[100];
char name1[100];
int i;
-
yaffs_dev_t
*dev;
+
struct yaffs_dev
*dev;
yaffs_trace_mask = 0;
yaffs_trace_mask = 0;
@@
-2691,9
+2691,9
@@
void link_follow_test(const char *mountpt)
int result;
int h;
int result;
int h;
- yaffs_trace
M
ask = 0;
+ yaffs_trace
_m
ask = 0;
- yaffs_
StartU
p();
+ yaffs_
start_u
p();
yaffs_mount(mountpt);
yaffs_mount(mountpt);