Update timothy test Makefile
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_read_EINVAL.c
index c5b5455ef9a548338d70907dbf415ae0340c0d2e..101c458a4bd6bf68b7dbe3f94dd8fc5453c448c9 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>
@@ -113,7 +113,7 @@ int test_yaffs_read_EINVAL_init(void)
                return -1;
        }
        
-       strcat(file_name,YAFFS_MOUNT_POINT);
+       strcpy(file_name,YAFFS_MOUNT_POINT);
        for (x=strlen(YAFFS_MOUNT_POINT); x<file_name_length -1; x++){
                file_name[x]='a';
        }