diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-09-19 15:59:34 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-10-30 04:36:03 +0300 |
commit | fc483a9bf795ebf49bf0c872d125391d8fee2f3f (patch) | |
tree | dddab88c2fd11da4e1f5641189cbbe31cbd67d94 /drivers/hwmon/k10temp.c | |
parent | 6dcf2fb5e8db3704f50af1f198256cb4e2453f8b (diff) | |
download | linux-fc483a9bf795ebf49bf0c872d125391d8fee2f3f.tar.xz |
hwmon: (stts751) Fix buffer size passed to snprintf
Function snprintf already cares for the terminating NUL at the end of
the string, the caller doesn't need to do it.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Andrea Merello <andrea.merello@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/k10temp.c')
0 files changed, 0 insertions, 0 deletions