diff options
author | roberto <roberto@FreeBSD.org> | 1999-12-09 13:17:01 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 1999-12-09 13:17:01 +0000 |
commit | 9d54c9a66ce2e52d702b8c147bc3cb75a5209010 (patch) | |
tree | d152af8a3ea5345d8e9d9c17e0c5f709f18cb454 /contrib | |
parent | a7f3c64efa66d9b4b0774006ba7db4158ca2b164 (diff) | |
download | FreeBSD-src-9d54c9a66ce2e52d702b8c147bc3cb75a5209010.zip FreeBSD-src-9d54c9a66ce2e52d702b8c147bc3cb75a5209010.tar.gz |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ntp/ntpd/ntp_proto.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c index 6d54291..7439b5a 100644 --- a/contrib/ntp/ntpd/ntp_proto.c +++ b/contrib/ntp/ntpd/ntp_proto.c @@ -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 |