From 99db6e480437d6dd6cf80580d19a65855768a727 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 10 Aug 2016 18:12:10 +0200 Subject: [PATCH] fix typographical mistake in warning message --- src/ceph.c | 2 +- src/dns.c | 2 +- src/exec.c | 2 +- src/iptables.c | 2 +- src/ping.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ceph.c b/src/ceph.c index 8cda764f..5248a1ac 100644 --- a/src/ceph.c +++ b/src/ceph.c @@ -1584,7 +1584,7 @@ static int ceph_init(void) WARNING ("ceph plugin: Running collectd as root, but the " "CAP_DAC_OVERRIDE capability is missing. The plugin's read " "function will probably fail. Is your init system dropping " - "capabilities ?"); + "capabilities?"); else WARNING ("ceph plugin: collectd doesn't have the CAP_DAC_OVERRIDE " "capability. If you don't want to run collectd as root, try running " diff --git a/src/dns.c b/src/dns.c index 53128396..a2a4667a 100644 --- a/src/dns.c +++ b/src/dns.c @@ -357,7 +357,7 @@ static int dns_init (void) if (getuid () == 0) WARNING ("dns plugin: Running collectd as root, but the CAP_NET_RAW " "capability is missing. The plugin's read function will probably " - "fail. Is your init system dropping capabilities ?"); + "fail. Is your init system dropping capabilities?"); else WARNING ("dns plugin: collectd doesn't have the CAP_NET_RAW capability. " "If you don't want to run collectd as root, try running \"setcap " diff --git a/src/exec.c b/src/exec.c index 1a14293e..dfd4b05f 100644 --- a/src/exec.c +++ b/src/exec.c @@ -817,7 +817,7 @@ static int exec_init (void) /* {{{ */ if (getuid () == 0) WARNING ("exec plugin: Running collectd as root, but the CAP_SETUID " "or CAP_SETGID capabilities are missing. The plugin's read function " - "will probably fail. Is your init system dropping capabilities ?"); + "will probably fail. Is your init system dropping capabilities?"); else WARNING ("exec plugin: collectd doesn't have the CAP_SETUID or " "CAP_SETGID capabilities. If you don't want to run collectd as root, " diff --git a/src/iptables.c b/src/iptables.c index c0854b3f..35c93f4e 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -512,7 +512,7 @@ static int iptables_init (void) WARNING ("iptables plugin: Running collectd as root, but the " "CAP_NET_ADMIN capability is missing. The plugin's read " "function will probably fail. Is your init system dropping " - "capabilities ?"); + "capabilities?"); else WARNING ("iptables plugin: collectd doesn't have the CAP_NET_ADMIN " "capability. If you don't want to run collectd as root, try " diff --git a/src/ping.c b/src/ping.c index 7b28ed37..52db2c71 100644 --- a/src/ping.c +++ b/src/ping.c @@ -458,7 +458,7 @@ static int ping_init (void) /* {{{ */ if (getuid () == 0) WARNING ("ping plugin: Running collectd as root, but the CAP_NET_RAW " "capability is missing. The plugin's read function will probably " - "fail. Is your init system dropping capabilities ?"); + "fail. Is your init system dropping capabilities?"); else WARNING ("ping plugin: collectd doesn't have the CAP_NET_RAW capability. " "If you don't want to run collectd as root, try running \"setcap " -- 2.11.0