commit | d09389be6f91f5e6a382a90f68916e8ee7444a60 | [log] [tgz] |
---|---|---|
author | Karsten Koenig <remur@gmx.net> | Wed Sep 25 18:08:16 2013 -0400 |
committer | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | Sat Sep 28 12:05:17 2013 +0200 |
tree | 3cc02e108f2963d632a87112a4d3c7582a76b382 | |
parent | e2babf7ec295bde9d0b04fe1c325131dc6aacf51 [diff] |
linux: take newline into account for sysfs_get_active_config bConfigurationValue in sysfs can be 3 digits (1byte value) + 1 new line = 4 bytes In it's current form a bConfigurationValue of 128 will be detected as not null terminated due to the trailing newline, simple fix is to just extend the array size to 5