X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fbasic-test%2Fdtest.c;h=97e8fbee1430ea6d421098e36c009eb9bfd77f9f;hp=691ffe2921842d8b764a4ae584ab21959fc517f3;hb=1570788072c1154eff93282e0bb8564de40bd8aa;hpb=0f588711ff1dc901d07f79e3f8ca64137da81602 diff --git a/direct/basic-test/dtest.c b/direct/basic-test/dtest.c index 691ffe2..97e8fbe 100644 --- 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. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -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){ - __u8 *b = (__u8 *)buffer; + u8 *b = (u8 *)buffer; 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 " @@ -2658,7 +2658,7 @@ void test_flash_traffic(const char *mountpt) char name0[100]; char name1[100]; int i; - yaffs_dev_t *dev; + struct yaffs_dev *dev; yaffs_trace_mask = 0; @@ -2775,7 +2775,7 @@ int main(int argc, char *argv[]) //null_name_test("yaffs2"); test_flash_traffic("yaffs2"); - link_follow_test("/yaffs2"); + // link_follow_test("/yaffs2"); return 0;