summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-ioconnect.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 13:03:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 13:03:11 +0000
commit296cdd194fb36e4b080690f5f24228925722bf57 (patch)
tree497124e5faea03f6583aa1a2deb5e8953cf68aa8 /src/conn-tools/s6-ioconnect.c
parent2f8e7b245b7fe187c41ea3655fce7551cfd7a48c (diff)
downloads6-296cdd194fb36e4b080690f5f24228925722bf57.tar.xz
Adapt to new stopwatch API
Diffstat (limited to 'src/conn-tools/s6-ioconnect.c')
-rw-r--r--src/conn-tools/s6-ioconnect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c
index 49d682c..eebb752 100644
--- a/src/conn-tools/s6-ioconnect.c
+++ b/src/conn-tools/s6-ioconnect.c
@@ -106,8 +106,7 @@ int main (int argc, char const *const *argv)
if (!iobuffer_init(&b[i], a[i][0].fd, a[i][1].fd)) strerr_diefu1sys(111, "iobuffer_init") ;
}
if (sig_ignore(SIGPIPE) == -1) strerr_diefu1sys(111, "sig_ignore") ;
- tain_now_set_stopwatch() ;
- tain_now_g() ;
+ tain_now_set_stopwatch_g() ;
x[0].fd = selfpipe_init() ;
if (x[0].fd < 0) strerr_diefu1sys(111, "selfpipe_init") ;
if (selfpipe_trap(SIGTERM) < 0)