Add yaffs_utime and related code
[yaffs2.git] / direct / basic-test / yaffs_osglue.c
index 7eaafc933eaf0194aeaad86d17bdf809d2cae202..885fb8090a600bfbb56384ea59cafd225aa18c2e 100644 (file)
@@ -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 <charles@aleph1.co.uk>
@@ -75,7 +75,7 @@ void yaffsfs_LockInit(void)
 
 u32 yaffsfs_CurrentTime(void)
 {
-       return 0;
+       return time(NULL);
 }