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.

20 lines
620 B

  1. --- ntp.orig 2014-12-28 11:48:24.731206568 -0600
  2. +++ ntp.c 2014-12-28 11:49:42.107208245 -0600
  3. @@ -79,7 +79,7 @@
  4. u_int pfd_elms = 0, idx2peer_elms = 0;
  5. u_int listener_cnt, new_cnt, sent_cnt, trial_cnt;
  6. u_int ctl_cnt;
  7. - pid_t pid, dns_pid;
  8. + pid_t pid;
  9. struct pollfd *pfd = NULL;
  10. struct servent *se;
  11. struct listen_addr *la;
  12. @@ -118,7 +118,7 @@
  13. close(pipe_prnt[0]);
  14. if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_dns) == -1)
  15. fatal("socketpair");
  16. - dns_pid = ntp_dns(pipe_dns, nconf, pw);
  17. + ntp_dns(pipe_dns, nconf, pw);
  18. close(pipe_dns[1]);
  19. if (stat(pw->pw_dir, &stb) == -1)