X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=linux-tests%2Fxattrtest.c;h=3a6931b962db3a7588add1e59bf06d6ce634d25d;hp=d1e5cf0ed97a4a20ef6ba0555ca15f79c7e42d31;hb=c83e416cba6748e7a436c5df6a202349ff4d0fe2;hpb=a34826e701dd381a293bb90b25a48d2bd58e8de8 diff --git a/linux-tests/xattrtest.c b/linux-tests/xattrtest.c index d1e5cf0..3a6931b 100644 --- a/linux-tests/xattrtest.c +++ b/linux-tests/xattrtest.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . 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 @@ -19,7 +19,8 @@ #include #include #include - +#include +#include static void print_xattrib_val(const char *path, const char *name) { @@ -66,8 +67,6 @@ void basic_xattr_test(const char *mountpt) int h; int result; int val1; - int valread; - strcpy(name,mountpt); strcat(name,"/"); @@ -115,4 +114,5 @@ int simulate_power_failure; int main(int argc, char *argv[]) { basic_xattr_test("/mnt/"); + return 0; }