One more _getdns_perror

This commit is contained in:
Willem Toorop 2017-10-31 16:22:09 +01:00
parent e2b26609d4
commit 09b4f6d57d
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ static uint64_t get_now_plus(uint64_t amount)
uint64_t now;
if (gettimeofday(&tv, NULL)) {
perror("gettimeofday() failed");
_getdns_perror("gettimeofday() failed");
exit(EXIT_FAILURE);
}
now = tv.tv_sec * 1000000 + tv.tv_usec;

View File

@ -38,7 +38,7 @@ static uint64_t get_now_plus(uint64_t amount)
uint64_t now;
if (gettimeofday(&tv, NULL)) {
perror("gettimeofday() failed");
_getdns_perror("gettimeofday() failed");
exit(EXIT_FAILURE);
}
now = tv.tv_sec * 1000000 + tv.tv_usec;