commit | ba256b41bd58f0821c9c0e203982fb260f09bdeb | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Jan 14 14:01:17 2009 +0800 |
committer | Len Brown <len.brown@intel.com> | Fri Apr 03 23:43:02 2009 -0400 |
tree | d56f5fa22fa4d82318e4e611ab5285ba5c5a5c1d | |
parent | c542aadeb4700bc316834d862d52ba3d2664f13a [diff] |
panasonic-laptop: use snprintf with PAGE_SIZE in sysfs attributes Instead of just sprintf() into the page-sized buffer provided by the sysfs/device_attribute API, we use snprintf with PAGE_SIZE as an additional safeguard. Signed-off-by: Martin Lucina <mato@kotelna.sk> Signed-off-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Len Brown <len.brown@intel.com>