commit | fc483a9bf795ebf49bf0c872d125391d8fee2f3f | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Tue Sep 19 14:59:34 2017 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 29 18:36:03 2017 -0700 |
tree | dddab88c2fd11da4e1f5641189cbbe31cbd67d94 | |
parent | 6dcf2fb5e8db3704f50af1f198256cb4e2453f8b [diff] |
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>