summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/authstuff/omakeIPFP.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/authstuff/omakeIPFP.c')
-rw-r--r--usr.sbin/xntpd/authstuff/omakeIPFP.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/xntpd/authstuff/omakeIPFP.c b/usr.sbin/xntpd/authstuff/omakeIPFP.c
index 887cc58..0751a5d 100644
--- a/usr.sbin/xntpd/authstuff/omakeIPFP.c
+++ b/usr.sbin/xntpd/authstuff/omakeIPFP.c
@@ -34,11 +34,11 @@ char *argv[];
{
int c;
int errflg = 0;
- extern int optind;
- extern char *optarg;
+ extern int ntp_optind;
+ extern char *ntp_optarg;
progname = argv[0];
- while ((c = getopt_l(argc, argv, "d")) != EOF)
+ while ((c = ntp_getopt(argc, argv, "d")) != EOF)
switch (c) {
case 'd':
++debug;
@@ -188,7 +188,7 @@ doit()
int ind0, ind1, ind2, ind3;
int quadbits;
- bzero((char *)bits, sizeof bits);
+ memset((char *)bits, 0, sizeof bits);
/*
* Do the rounds for the IPL table. We save the results of
OpenPOWER on IntegriCloud