mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
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:
parent
1d45332d46
commit
4a3e65fbac
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue