aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/show.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-01-22 13:38:52 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-01-23 14:29:44 +0100
commitc870c7af53f44a37814dfc76ceb8ad88e290fcd8 (patch)
tree82f0ceef7f1bb33d63774be97f432ed9b99d9ec3 /src/tools/show.c
parentcontrib: introduce simple highlighter library (diff)
downloadwireguard-monolithic-historical-c870c7af53f44a37814dfc76ceb8ad88e290fcd8.tar.xz
wireguard-monolithic-historical-c870c7af53f44a37814dfc76ceb8ad88e290fcd8.zip
netlink: use __kernel_timespec for handshake time
Diffstat (limited to 'src/tools/show.c')
-rw-r--r--src/tools/show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/show.c b/src/tools/show.c
index ba6f115..4cc34ab 100644
--- a/src/tools/show.c
+++ b/src/tools/show.c
@@ -155,7 +155,7 @@ static size_t pretty_time(char *buf, const size_t len, unsigned long long left)
return offset;
}
-static char *ago(const struct timespec *t)
+static char *ago(const struct timespec64 *t)
{
static char buf[1024];
size_t offset;