|
|
@ -1,4 +1,4 @@ |
|
|
|
/* $OpenBSD: ntpd.c,v 1.94 2015/07/18 00:53:44 bcook Exp $ */ |
|
|
|
/* $OpenBSD: ntpd.c,v 1.95 2015/10/03 02:47:15 deraadt Exp $ */ |
|
|
|
|
|
|
|
/* |
|
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
|
@ -565,6 +565,9 @@ ctl_main(int argc, char *argv[]) |
|
|
|
if (connect(fd, (struct sockaddr *)&sa, sizeof(sa)) == -1) |
|
|
|
err(1, "connect: %s", sockname); |
|
|
|
|
|
|
|
if (tame("stdio", NULL) == -1) |
|
|
|
err(1, "tame"); |
|
|
|
|
|
|
|
if ((ibuf_ctl = malloc(sizeof(struct imsgbuf))) == NULL) |
|
|
|
err(1, NULL); |
|
|
|
imsg_init(ibuf_ctl, fd); |
|
|
|