summaryrefslogtreecommitdiff
path: root/src/clock/s6-taiclockd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:26:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:26:52 +0000
commit9c5b811d182f77b67a0bb5cd5f4a33774304e1d4 (patch)
tree6a2a681054a1946d9f29ff079da54049ba9210d7 /src/clock/s6-taiclockd.c
parent649b8640a34261574a774020dbfb5ed419170de3 (diff)
downloads6-networking-9c5b811d182f77b67a0bb5cd5f4a33774304e1d4.tar.xz
Use stopwatches and wallclocks where appropriate
Diffstat (limited to 'src/clock/s6-taiclockd.c')
-rw-r--r--src/clock/s6-taiclockd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clock/s6-taiclockd.c b/src/clock/s6-taiclockd.c
index 504c4fc..e76a9c5 100644
--- a/src/clock/s6-taiclockd.c
+++ b/src/clock/s6-taiclockd.c
@@ -46,7 +46,7 @@ int main (int argc, char const *const *argv)
{
tain_t now ;
packet[0] = 's' ;
- if (!tain_sysclock(&now)) strerr_diefu1sys(111, "tain_sysclock") ;
+ if (!tain_wallclock_read(&now)) strerr_diefu1sys(111, "tain_wallclock_read") ;
tain_pack(packet + 4, &now) ;
if (socket_send46(s, packet, r, &ip, port) < 0)
strerr_warnwu1sys("socket_send") ;