aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorZefir Kurtisi <zefir.kurtisi@neratec.com>2013-09-05 08:11:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-09-26 15:13:35 -0400
commit5e88ba6228e66741811992a6c1d7cf37195ed4be (patch)
treebbef06dfe1c87b09a3b2b5c4fde947a7030368e1 /drivers/net/wireless/ath/ath9k/ath9k.h
parentbf7c756c5d653a63c9bbef4686ae57efcfdaee3d (diff)
ath9k: replace snprintf() with scnprintf()
Whenever the return value of snprintf() is used to calculate remaining buffer-space, we wanted to use sncprintf() instead. Indentation is adapted where possible. Some lines exceed the line width limit, either they did it already before, or since they can not be broken reasonably well. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 5fd429485e76..8878f2dada2d 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -459,8 +459,8 @@ void ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type);
459 459
460#define ATH_DUMP_BTCOEX(_s, _val) \ 460#define ATH_DUMP_BTCOEX(_s, _val) \
461 do { \ 461 do { \
462 len += snprintf(buf + len, size - len, \ 462 len += scnprintf(buf + len, size - len, \
463 "%20s : %10d\n", _s, (_val)); \ 463 "%20s : %10d\n", _s, (_val)); \
464 } while (0) 464 } while (0)
465 465
466enum bt_op_flags { 466enum bt_op_flags {