Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
701 B

4 years ago
  1. From cf2fec695318a130477875178d2f58de169306bd Mon Sep 17 00:00:00 2001
  2. From: Brent Cook <busterb@gmail.com>
  3. Date: Mon, 8 Jun 2020 06:54:12 -0500
  4. Subject: [PATCH 18/18] initialize deadline
  5. ---
  6. src/usr.sbin/ntpd/ntpd.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/usr.sbin/ntpd/ntpd.c b/src/usr.sbin/ntpd/ntpd.c
  9. index 7ea24dc58c..68514de948 100644
  10. --- a/src/usr.sbin/ntpd/ntpd.c
  11. +++ b/src/usr.sbin/ntpd/ntpd.c
  12. @@ -166,7 +166,7 @@ main(int argc, char *argv[])
  13. int argc0 = argc, logdest;
  14. char **argv0 = argv;
  15. char *pname = NULL;
  16. - time_t settime_deadline;
  17. + time_t settime_deadline = 0;
  18. int sopt = 0;
  19. __progname = get_progname(argv[0]);
  20. --
  21. 2.27.0