aboutsummaryrefslogtreecommitdiffstats
path: root/src/fl2k_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl2k_test.c')
-rw-r--r--src/fl2k_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl2k_test.c b/src/fl2k_test.c
index ee2753d..c9a6048 100644
--- a/src/fl2k_test.c
+++ b/src/fl2k_test.c
@@ -123,8 +123,8 @@ static int ppm_gettime(struct time_generic *tg)
struct timeval tv;
rv = gettimeofday(&tv, NULL);
- ts->tv_sec = tv.tv_sec;
- ts->tv_nsec = tv.tv_usec * 1000;
+ tg->tv_sec = tv.tv_sec;
+ tg->tv_nsec = tv.tv_usec * 1000;
#endif
return rv;
}