https-dns-proxy: bugfix: logging crashing instances on ath79
[feed/packages.git] / net / https-dns-proxy / patches / 030-src-logging.c-fix-crash.patch
1 --- a/src/logging.c
2 +++ b/src/logging.c
3 @@ -78,7 +78,7 @@ void _log(const char *file, int line, in
4
5 struct timeval tv;
6 gettimeofday(&tv, NULL);
7 - fprintf(logf, "%s %8lu.%06lu %s:%d ", SeverityStr[severity],
8 + fprintf(logf, "%s %8llu.%06llu %s:%d ", SeverityStr[severity],
9 (uint64_t)tv.tv_sec,
10 (uint64_t)tv.tv_usec, file, line);
11