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:
Ollivier Robert 1999-12-09 13:17:01 +00:00
parent 1d45332d46
commit 4a3e65fbac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54363

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