doc: hpfall.c: fix missing null-terminate after strncpy call
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Wed, 4 Jun 2014 21:28:10 +0000 (23:28 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 19 Jun 2014 13:20:26 +0000 (15:20 +0200)
commitd5ae11dc402f64a3b79ef6754487429b772f3e71
tree219affe16d69bfed760501b5e9efefa64cbffbe9
parent429a91db3b3e7f755b1e9fa3bcd95660d84697ad
doc: hpfall.c: fix missing null-terminate after strncpy call

Added a guaranteed null-terminate after call to strncpy.

This was partly found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/laptops/hpfall.c