diff options
-rw-r--r-- | src/utmps/utmps-utmpd.c | 3 | ||||
-rw-r--r-- | src/utmps/utmps-wtmpd.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/utmps/utmps-utmpd.c b/src/utmps/utmps-utmpd.c index 7e2c3af..9709af5 100644 --- a/src/utmps/utmps-utmpd.c +++ b/src/utmps/utmps-utmpd.c @@ -236,8 +236,7 @@ int main (void) if (!x) strerr_diefu1x(100, "get $IPCREMOTEEGID from environment") ; if (!gid0_scan(x, &gid)) strerr_dieinvalid(100, "IPCREMOTEEGID") ; if (ndelay_on(0) < 0) strerr_diefu1sys(111, "set stdin non-blocking") ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; for (;;) { diff --git a/src/utmps/utmps-wtmpd.c b/src/utmps/utmps-wtmpd.c index c5454a0..989e761 100644 --- a/src/utmps/utmps-wtmpd.c +++ b/src/utmps/utmps-wtmpd.c @@ -39,8 +39,7 @@ int main (void) if (!x) strerr_diefu1x(100, "get $IPCREMOTEEUID from environment") ; if (!uid0_scan(x, &uid)) strerr_dieinvalid(100, "IPCREMOTEEUID") ; if (ndelay_on(0) < 0) strerr_diefu1sys(111, "set stdin non-blocking") ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_ulong(&deadline, 30) ; tain_add_g(&deadline, &deadline) ; |