Module Name: src
Committed By: christos
Date: Sun Apr 5 17:33:11 UTC 2009
Modified Files:
src/dist/ntp/ntpd: ntp_loopfilter.c
Log Message:
use the proper status variable.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/dist/ntp/ntpd/ntp_loopfilter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/ntp/ntpd/ntp_loopfilter.c
diff -u src/dist/ntp/ntpd/ntp_loopfilter.c:1.9 src/dist/ntp/ntpd/ntp_loopfilter.c:1.10
--- src/dist/ntp/ntpd/ntp_loopfilter.c:1.9 Tue Dec 23 15:49:19 2008
+++ src/dist/ntp/ntpd/ntp_loopfilter.c Sun Apr 5 13:33:11 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ntp_loopfilter.c,v 1.9 2008/12/23 20:49:19 christos Exp $ */
+/* $NetBSD: ntp_loopfilter.c,v 1.10 2009/04/05 17:33:11 christos Exp $ */
/*
* ntp_loopfilter.c - implements the NTP loop filter algorithm
@@ -189,7 +189,7 @@
{
char buf[1024];
#ifdef STA_FMT
- snprintb(buf, sizeof(buf), STA_FMT, ntv.status);
+ snprintb(buf, sizeof(buf), STA_FMT, status);
#else
snprintf(buf, sizeof(buf), "%04x, status);
#endif