From: Florian Forster Date: Sun, 16 Aug 2009 07:27:44 +0000 (+0200) Subject: madwifi plugin: Rename the antenna stats. X-Git-Tag: collectd-4.8.0~47 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d8762c435fadaeaca222ab97d93bba2352449690;p=collectd.git madwifi plugin: Rename the antenna stats. The first part of the type instance is already something like `ast_ant_rx' - using `antenna%i' as the second part is therefore redundant. Thanks to Ondrej for the pointer. --- diff --git a/src/madwifi.c b/src/madwifi.c index e46420ca..536bcd4e 100644 --- a/src/madwifi.c +++ b/src/madwifi.c @@ -597,7 +597,7 @@ static void submit_antx (const char *dev, const char *name, if (vals[i] == 0) continue; - ssnprintf (ti2, sizeof (ti2), "antenna%i", i); + ssnprintf (ti2, sizeof (ti2), "%i", i); submit_counter (dev, "ath_stat", name, ti2, (counter_t) vals[i]); }