summaryrefslogtreecommitdiffstats
path: root/output
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-01-18 21:11:09 +0100
committerEric Leblond <eric@regit.org>2013-01-18 21:11:09 +0100
commit04fd8f029941b87d4ccb468def58ca4816196742 (patch)
treefa62ba6712934f3c4e2a5b4845126f54597270d2 /output
parentad5a60ced3dc70b27dec3759a179a369a651a5ea (diff)
graphite: fix warning about gnu extension usage
clang is complaining about missing = being a gnu extension. This patch adds equal sign to fix the warning.
Diffstat (limited to 'output')
-rw-r--r--output/ulogd_output_GRAPHITE.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/output/ulogd_output_GRAPHITE.c b/output/ulogd_output_GRAPHITE.c
index 25b578e..a4b31a5 100644
--- a/output/ulogd_output_GRAPHITE.c
+++ b/output/ulogd_output_GRAPHITE.c
@@ -42,19 +42,19 @@ enum {
static struct ulogd_key graphite_inp[] = {
- [KEY_SUM_NAME] {
+ [KEY_SUM_NAME] = {
.type = ULOGD_RET_STRING,
.name = "sum.name",
},
- [KEY_SUM_PKTS] {
+ [KEY_SUM_PKTS] = {
.type = ULOGD_RET_UINT64,
.name = "sum.pkts",
},
- [KEY_SUM_BYTES] {
+ [KEY_SUM_BYTES] = {
.type = ULOGD_RET_UINT64,
.name = "sum.bytes",
},
- [KEY_OOB_TIME_SEC] {
+ [KEY_OOB_TIME_SEC] = {
.type = ULOGD_RET_UINT32,
.name = "oob.time.sec",
},