mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
* 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>
12 lines
361 B
Diff
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);
|
|
|