Permalink
Browse files

Use UNIX time instead of seconds since boot.

  • Loading branch information...
1 parent 6c48758 commit 6b598375456932c774c4ac64dd802e8e3e732343 @sebhub sebhub committed Sep 7, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 rtems/rtems_yaffs_os_glue.c
@@ -20,8 +20,7 @@
*/
#include <stdlib.h>
-
-#include <rtems.h>
+#include <time.h>
#include "yaffs_trace.h"
#include "yaffs_osglue.h"
@@ -42,5 +41,5 @@ void yaffsfs_free(void *ptr)
u32 yaffsfs_CurrentTime(void)
{
- return rtems_clock_get_ticks_since_boot();
+ return time(NULL);
}

0 comments on commit 6b59837

Please sign in to comment.