We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde1b7f commit 564c0daCopy full SHA for 564c0da
src/rtl_test.c
@@ -162,8 +162,8 @@ static int ppm_gettime(struct time_generic *tg)
162
struct timeval tv;
163
164
rv = gettimeofday(&tv, NULL);
165
- ts->tv_sec = tv.tv_sec;
166
- ts->tv_nsec = tv.tv_usec * 1000;
+ tg->tv_sec = tv.tv_sec;
+ tg->tv_nsec = tv.tv_usec * 1000;
167
#endif
168
return rv;
169
}
0 commit comments