Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/wpa/dist/wpa_supplicant fix printf formats for ...
details: https://anonhg.NetBSD.org/src/rev/a3ba2d2e7e27
branches: trunk
changeset: 349180:a3ba2d2e7e27
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 27 17:06:09 2016 +0000
description:
fix printf formats for time_t
diffstat:
external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 5503e578bb51 -r a3ba2d2e7e27 external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c
--- a/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c Sun Nov 27 14:49:21 2016 +0000
+++ b/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c Sun Nov 27 17:06:09 2016 +0000
@@ -4422,8 +4422,8 @@
os_get_reltime(&now);
os_reltime_sub(&now, &work->time, &diff);
wpa_dbg(wpa_s, MSG_DEBUG,
- "Starting radio work '%s'@%p after %ld.%06ld second wait",
- work->type, work, diff.sec, diff.usec);
+ "Starting radio work '%s'@%p after %jd.%06ld second wait",
+ work->type, work, (intmax_t)diff.sec, diff.usec);
work->started = 1;
work->time = now;
radio->num_active_works++;
@@ -6903,7 +6903,7 @@
os_reltime_sub(&bss->disallowed_until, &now, &age);
wpa_printf(MSG_DEBUG,
- "BSS " MACSTR " disabled for %ld.%0ld seconds",
- MAC2STR(bss->bssid), age.sec, age.usec);
+ "BSS " MACSTR " disabled for %jd.%0ld seconds",
+ MAC2STR(bss->bssid), (intmax_t)age.sec, age.usec);
return 1;
}
Home |
Main Index |
Thread Index |
Old Index