Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_chmod_ELOOP.c
index d5733371610eaa1c6fd6646a9a7c1bdc4d70a8cb..d60c451c4806de0eb80aaa63ae745d9fdbda8870 100644 (file)
@@ -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 Timothy Manning <timothy@yaffs.net>
@@ -23,7 +23,7 @@ int test_yaffs_chmod_ELOOP(void)
                return -1;
        }
 
-       output = yaffs_chmod(ELOOP_PATH "file",S_IREAD|S_IWRITE);
+       output = yaffs_chmod(ELOOP_PATH,S_IREAD|S_IWRITE);
 
        if (output<0){
                error=yaffs_get_error();