libs/light: fix tv_sec printf format
authorManuel Bouyer <bouyer@netbsd.org>
Tue, 26 Jan 2021 22:47:55 +0000 (23:47 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Jan 2021 22:50:08 +0000 (22:50 +0000)
commita8ac01aa3e3ea5e6a9a1620aa8fa7e9da3458120
tree861b7c523c7b17ff7063c2b3745a7cba37ea237d
parenta430151c7378072e4544a6f3376da89e06945df4
libs/light: fix tv_sec printf format

Don't assume tv_sec is a unsigned long, it is 64 bits on NetBSD 32 bits.
Use %jd and cast to (intmax_t) instead

Signed-off-by: Manuel Bouyer <bouyer@netbsd.org>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
tools/libs/light/libxl_create.c