projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typographical mistake in warning message
[collectd.git]
/
src
/
chrony.c
diff --git
a/src/chrony.c
b/src/chrony.c
index
1735b49
..
0485036
100644
(file)
--- a/
src/chrony.c
+++ b/
src/chrony.c
@@
-1053,7
+1053,7
@@
chrony_read(void)
{
/* collectd read callback: Perform data acquisition */
int rc;
{
/* collectd read callback: Perform data acquisition */
int rc;
- unsigned int n
ow_src, n
_sources;
+ unsigned int n_sources;
if (g_chrony_seq_is_initialized == 0)
{
if (g_chrony_seq_is_initialized == 0)
{
@@
-1075,7
+1075,7
@@
chrony_read(void)
if (rc != CHRONY_RC_OK)
return rc;
if (rc != CHRONY_RC_OK)
return rc;
- for (now_src = 0; now_src < n_sources; ++now_src)
+ for (
unsigned int
now_src = 0; now_src < n_sources; ++now_src)
{
int is_reachable;
rc = chrony_request_source_data(now_src, &is_reachable);
{
int is_reachable;
rc = chrony_request_source_data(now_src, &is_reachable);