Files
packages/net/https-dns-proxy/patches/030-src-logging.c-fix-crash.patch
Stan Grishin 38c026250f https-dns-proxy: bugfix: logging crashing instances on ath79
* finally fixes https://github.com/openwrt/packages/issues/19366
* simplify service_triggers
* improve output for dnsmasq restart
* improve grep/sed dependencies
* remove interface hotplug

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-10-17 09:46:19 +00:00

12 lines
361 B
Diff

--- a/src/logging.c
+++ b/src/logging.c
@@ -78,7 +78,7 @@ void _log(const char *file, int line, in
struct timeval tv;
gettimeofday(&tv, NULL);
- fprintf(logf, "%s %8lu.%06lu %s:%d ", SeverityStr[severity],
+ fprintf(logf, "%s %8llu.%06llu %s:%d ", SeverityStr[severity],
(uint64_t)tv.tv_sec,
(uint64_t)tv.tv_usec, file, line);