linux/Documentation/laptops
Stefan Weil 6e641c943f Documentation: Fix size parameter for snprintf
cppcheck reports this error:

Documentation/laptops/hpfall.c:33]: (error)
 Dangerous usage of 'devname' (strncpy doesn't always 0-terminate it)

The terminating '\0' is needed for the global char array unload_heads_path,
so never write the last array entry (which is initially '\0').

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-01-02 10:47:33 +01:00
..
00-INDEX
Makefile
asus-laptop.txt
disk-shock-protection.txt
dslm.c
hpfall.c
laptop-mode.txt
sony-laptop.txt
sonypi.txt
thinkpad-acpi.txt