Commit a fix several warnings on alpha for sysctlbyname arguments. It could

have resulted in stack corruption. A patch has been sent to the ntp author
for inclusion in next version.

Obtained from:	peter
This commit is contained in:
roberto 1999-12-09 13:17:01 +00:00
parent a7f3c64efa
commit 9d54c9a66c

View File

@ -1,5 +1,7 @@
/*
* ntp_proto.c - NTP version 4 protocol machinery
*
* $FreeBSD$
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
@ -1925,7 +1927,7 @@ default_get_precision(void)
#endif
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
u_long freq;
int j;
size_t j;
/* Try to see if we can find the frequency of of the counter
* which drives our timekeeping