projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'github/pr/2422'
[collectd.git]
/
src
/
ntpd.c
diff --git
a/src/ntpd.c
b/src/ntpd.c
index
fb41a7d
..
a19d05c
100644
(file)
--- 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);