summaryrefslogtreecommitdiff
path: root/src/shutdown/s6-linux-init-hpr.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 11:26:35 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 11:26:35 +0000
commit5276157151d44fe7cf09060b413e81a1420c1b93 (patch)
tree4f65ffacd2e08a294a29ac08ee17fd5edff3d400 /src/shutdown/s6-linux-init-hpr.c
parent244dddd0ada79388a27f33e73b173764c581fca1 (diff)
downloads6-linux-init-5276157151d44fe7cf09060b413e81a1420c1b93.tar.xz
shutdown protocol now transmits a timeout; move to stopwatch API
Diffstat (limited to 'src/shutdown/s6-linux-init-hpr.c')
-rw-r--r--src/shutdown/s6-linux-init-hpr.c2
1 files changed, 1 insertions, 1 deletions
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 ;