From 5276157151d44fe7cf09060b413e81a1420c1b93 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Sep 2019 11:26:35 +0000 Subject: shutdown protocol now transmits a timeout; move to stopwatch API --- src/shutdown/s6-linux-init-hpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shutdown/s6-linux-init-hpr.c') diff --git a/src/shutdown/s6-linux-init-hpr.c b/src/shutdown/s6-linux-init-hpr.c index 6c88b47..265cc30 100644 --- a/src/shutdown/s6-linux-init-hpr.c +++ b/src/shutdown/s6-linux-init-hpr.c @@ -114,7 +114,7 @@ int main (int argc, char const *const *argv) if (dowall) hpr_wall(HPR_WALL_BANNER) ; if (dowtmp < 2) { - if (!hpr_shutdown(what, &STAMP, 0)) + if (!hpr_shutdown(what, &tain_zero, 0)) strerr_diefu1sys(111, "notify s6-linux-init-shutdownd") ; } return 0 ; -- cgit v1.2.3