eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6b12593ec0a68550c2abaf88837c5abd49ff92ec
parent 426681aeb2625f2df8de1be68db78b5354d68c20
Author: Rosen Penev <rosenp@gmail.com>
Date:   Wed,  1 Apr 2020 19:16:50 -0700

nlmon: fix -Wformat under musl 1.2.0

musl 1.2.0 uses 64-bit time, even under 32-bit OSes. Cast to int64_t
and use the proper macro.

Diffstat:
Mmonitor/nlmon.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c @@ -216,8 +216,9 @@ static void print_packet(const struct timeval *tv, char ident, ts_pos += n; } - n = sprintf(ts_str + ts_pos, " %lu.%06lu", - tv->tv_sec - time_offset, tv->tv_usec); + n = sprintf(ts_str + ts_pos, " %" PRId64 ".%06" PRId64, + (int64_t)tv->tv_sec - time_offset, + (int64_t)tv->tv_usec); if (n > 0) { ts_pos += n; ts_len += n;