iw: Fix timestamp output on 32-bit architectures
On 32-bit architectures, time_t is 32-bit which causes overflows in the
arithmetic involving tv_sec, leading to invalid output. Fix this by
explicitly adding ULL suffixes to the constants used in those calculations.
Fixes: 3708f614dfdd ("iw: Print current time in station info dump")
Signed-off-by: Toke Høiland-Jørgensen <firstname.lastname@example.org>
Signed-off-by: Johannes Berg <email@example.com>
1 file changed