summaryrefslogtreecommitdiff
path: root/src/pipe-tools/s6-ftrig-wait.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-09 23:42:35 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-09 23:42:35 +0000
commitaaea6322e9e765969f452764e51ca1ddd9783264 (patch)
tree4e863537677e0266a79c4045c47a5e6b9f64a1a8 /src/pipe-tools/s6-ftrig-wait.c
parentce2977ee9195612730bc8713f142c95f79605e75 (diff)
downloads6-aaea6322e9e765969f452764e51ca1ddd9783264.tar.xz
skalibs-2.11.0.0 API change
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/pipe-tools/s6-ftrig-wait.c')
-rw-r--r--src/pipe-tools/s6-ftrig-wait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipe-tools/s6-ftrig-wait.c b/src/pipe-tools/s6-ftrig-wait.c
index e703127..6cf0b25 100644
--- a/src/pipe-tools/s6-ftrig-wait.c
+++ b/src/pipe-tools/s6-ftrig-wait.c
@@ -13,7 +13,7 @@
int main (int argc, char const *const *argv)
{
- tain_t deadline, tto ;
+ tain deadline, tto ;
ftrigr_t a = FTRIGR_ZERO ;
uint16_t id ;
char pack[2] = " \n" ;
@@ -22,7 +22,7 @@ int main (int argc, char const *const *argv)
unsigned int t = 0 ;
for (;;)
{
- int opt = subgetopt(argc, argv, "t:") ;
+ int opt = lgetopt(argc, argv, "t:") ;
if (opt == -1) break ;
switch (opt)
{