Skip to content

Commit

Permalink
Apply rtl_test fix from PR keenerd#13
Browse files Browse the repository at this point in the history
  • Loading branch information
misham committed May 24, 2015
1 parent cde1b7f commit 564c0da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rtl_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,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;
}
Expand Down

0 comments on commit 564c0da

Please sign in to comment.