diff options
author | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2021-11-16 09:18:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 10:18:43 +0300 |
commit | acca8c24f229da0ff0238921ebc4b30ddc7125ea (patch) | |
tree | 93113595d01b209c62167aa7d0ccaf05bb665218 /exporting | |
parent | 97a13e03612b0d4f2908be57b5114d619626f66d (diff) |
Fix typos (#11782)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Diffstat (limited to 'exporting')
-rw-r--r-- | exporting/init_connectors.c | 2 | ||||
-rw-r--r-- | exporting/prometheus/prometheus.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/exporting/init_connectors.c b/exporting/init_connectors.c index 6b22859bf7..69ea0685cf 100644 --- a/exporting/init_connectors.c +++ b/exporting/init_connectors.c @@ -92,7 +92,7 @@ int init_connectors(struct engine *engine) // dispatch the instance worker thread int error = uv_thread_create(&instance->thread, instance->worker, instance); if (error) { - error("EXPORTING: cannot create tread worker. uv_thread_create(): %s", uv_strerror(error)); + error("EXPORTING: cannot create thread worker. uv_thread_create(): %s", uv_strerror(error)); return 1; } char threadname[NETDATA_THREAD_NAME_MAX + 1]; diff --git a/exporting/prometheus/prometheus.c b/exporting/prometheus/prometheus.c index 6759313c33..5b21c105d7 100644 --- a/exporting/prometheus/prometheus.c +++ b/exporting/prometheus/prometheus.c @@ -136,7 +136,7 @@ static inline time_t prometheus_server_last_access(const char *server, RRDHOST * * Copy and sanitize name. * * @param d a destination string. - * @param s a source sting. + * @param s a source string. * @param usable the number of characters to copy. * @return Returns the length of the copied string. */ @@ -161,7 +161,7 @@ inline size_t prometheus_name_copy(char *d, const char *s, size_t usable) * Copy and sanitize label. * * @param d a destination string. - * @param s a source sting. + * @param s a source string. * @param usable the number of characters to copy. * @return Returns the length of the copied string. */ @@ -190,7 +190,7 @@ inline size_t prometheus_label_copy(char *d, const char *s, size_t usable) * Copy and sanitize units. * * @param d a destination string. - * @param s a source sting. + * @param s a source string. * @param usable the number of characters to copy. * @param showoldunits set this flag to 1 to show old (before v1.12) units. * @return Returns the destination string. |