X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=a19d05c106a13fc858abf09dc485ed13acd4effa;hb=47fd864adf60f70628e516d933c859229ff70912;hp=fb41a7d903eee9f147da3e22a4108a21c8700168;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/ntpd.c b/src/ntpd.c index fb41a7d9..a19d05c1 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -783,7 +783,7 @@ static int ntpd_get_name_refclock(char *buffer, size_t buffer_size, if (include_unit_id) snprintf(buffer, buffer_size, "%s-%" PRIu32, refclock_names[refclock_id], - unit_id); + unit_id); else sstrncpy(buffer, refclock_names[refclock_id], buffer_size);