summaryrefslogtreecommitdiff
path: root/src/clock/s6-taiclockd.c
diff options
context:
space:
mode:
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") ;