Closed enrikb closed 3 years ago
The changes of #113 left trailing zeroes in the serial number and product name on Linux.
The ioctl() for retrieving the attributes returns the string length on success. Use the returned value to retrieve strings of the correct length.
ioctl()
Thanks, good catch!
Thanks again!
The changes of #113 left trailing zeroes in the serial number and product name on Linux.
The
ioctl()
for retrieving the attributes returns the string length on success. Use the returned value to retrieve strings of the correct length.