summaryrefslogtreecommitdiffstats
path: root/src/collectors/nfacct.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/collectors/nfacct.plugin')
-rw-r--r--src/collectors/nfacct.plugin/integrations/netfilter.md4
-rw-r--r--src/collectors/nfacct.plugin/plugin_nfacct.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/collectors/nfacct.plugin/integrations/netfilter.md b/src/collectors/nfacct.plugin/integrations/netfilter.md
index c36b5e999..b8dcb8520 100644
--- a/src/collectors/nfacct.plugin/integrations/netfilter.md
+++ b/src/collectors/nfacct.plugin/integrations/netfilter.md
@@ -107,7 +107,7 @@ The file format is a modified INI syntax. The general structure is:
option3 = some third value
```
You can edit the configuration file using the `edit-config` script from the
-Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration.md#the-netdata-config-directory).
+Netdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).
```bash
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
@@ -117,7 +117,7 @@ sudo ./edit-config netdata.conf
-<details><summary>Config options</summary>
+<details open><summary>Config options</summary>
| Name | Description | Default | Required |
|:----|:-----------|:-------|:--------:|
diff --git a/src/collectors/nfacct.plugin/plugin_nfacct.c b/src/collectors/nfacct.plugin/plugin_nfacct.c
index 1d46f2953..92c82351a 100644
--- a/src/collectors/nfacct.plugin/plugin_nfacct.c
+++ b/src/collectors/nfacct.plugin/plugin_nfacct.c
@@ -763,7 +763,7 @@ int main(int argc, char **argv) {
}
}
else if(strcmp("version", argv[i]) == 0 || strcmp("-version", argv[i]) == 0 || strcmp("--version", argv[i]) == 0 || strcmp("-v", argv[i]) == 0 || strcmp("-V", argv[i]) == 0) {
- printf("nfacct.plugin %s\n", VERSION);
+ printf("nfacct.plugin %s\n", NETDATA_VERSION);
exit(0);
}
else if(strcmp("debug", argv[i]) == 0) {
@@ -798,7 +798,7 @@ int main(int argc, char **argv) {
" For more information:\n"
" https://github.com/netdata/netdata/tree/master/src/collectors/nfacct.plugin\n"
"\n"
- , VERSION
+ , NETDATA_VERSION
, netdata_update_every
);
exit(1);
@@ -809,7 +809,7 @@ int main(int argc, char **argv) {
nfacct_signals();
- errno = 0;
+ errno_clear();
if(freq >= netdata_update_every)
netdata_update_every = freq;