diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-08-09 19:46:05 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-08-09 19:46:05 +0000 |
commit | 616dac55ef56851b7295b4eff5f8a8b6bd1efc3b (patch) | |
tree | 9aa7a229b86389e260cb7a471a918a44c15cf9d7 | |
parent | e49b19c64ba823bab6521a92f745b3087e86e5c3 (diff) | |
download | src-616dac55ef56851b7295b4eff5f8a8b6bd1efc3b.tar.gz src-616dac55ef56851b7295b4eff5f8a8b6bd1efc3b.zip |
ancontrol(8): replace comma with semicolon when pertinent.
Uses of commas instead of a semicolons can easily go undetected. The comma
can serve as a statement separator but this shouldn't be abused when
statements are meant to be standalone.
Detected with devel/coccinelle following a hint from DragonFlyBSD.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=303894
-rw-r--r-- | usr.sbin/ancontrol/ancontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ancontrol/ancontrol.c b/usr.sbin/ancontrol/ancontrol.c index 4ff32ff19098..ba2419a7f90e 100644 --- a/usr.sbin/ancontrol/ancontrol.c +++ b/usr.sbin/ancontrol/ancontrol.c @@ -573,9 +573,9 @@ an_dumpstats(const char *iface) printf("Management frames transmitted:\t\t\t[ %u ]\n", stats->an_tx_mgmt_pkts); printf("Refresh frames received:\t\t\t[ %u ]\n", - stats->an_rx_refresh_pkts), + stats->an_rx_refresh_pkts); printf("Refresh frames transmitted:\t\t\t[ %u ]\n", - stats->an_tx_refresh_pkts), + stats->an_tx_refresh_pkts); printf("Poll frames received:\t\t\t\t[ %u ]\n", stats->an_rx_poll_pkts); printf("Poll frames transmitted:\t\t\t[ %u ]\n", |