Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use UNIX time instead of seconds since boot.
  • Loading branch information
sebhub committed Sep 7, 2011
1 parent 6c48758 commit 6b59837
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rtems/rtems_yaffs_os_glue.c
Expand Up @@ -20,8 +20,7 @@
*/

#include <stdlib.h>

#include <rtems.h>
#include <time.h>

#include "yaffs_trace.h"
#include "yaffs_osglue.h"
Expand All @@ -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.