iwlwifi: replace sprintf with scnprintf for debugfs output
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Tue, 15 Apr 2008 04:16:04 +0000 (21:16 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 19:59:57 +0000 (15:59 -0400)
commitdb0589f3b9443f2b57ea6daaec09c1ab0ac99cb0
tree4c7987bac93d334849f055929995c05090bfe5bb
parent57aab75a39089744aba4bd126df2de526481b128
iwlwifi: replace sprintf with scnprintf for debugfs output

The buffersize allocated is not accurate.
Writing to these buffers with scnprintf is safer.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-debugfs.c