Skip to content

Commit

Permalink
avoid_loop Patch by Gerardo Malazdrewicz <gerardo@malazdrewicz.com.ar>
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Hommel committed Aug 21, 2013
1 parent a2c8ac6 commit a0e3346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libfaketime.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp) {
/* Check whether we've got a pointer to the real clock_gettime() function yet */
SINGLE_IF(has_real_clock_gettime==0)
real_clock_gettime = NULL;
real_clock_gettime = dlsym(RTLD_NEXT, "clock_gettime");
real_clock_gettime = dlsym(RTLD_NEXT, "__clock_gettime");

/* check whether dlsym() worked */
if (dlerror() == NULL) {
Expand Down

0 comments on commit a0e3346

Please sign in to comment.