PeakCAN: Fix error string with trailing null bytes
[ChangeLog][PeakCAN] Fixed that the error string returned
by systemErrorString() contained trailing null bytes.
Pick-to: 6.11 6.8
Fixes: QTBUG-145569
Change-Id: I578f11c0644a9c2c4d85e1c3f8157fd0f35bcb7e
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | 7e4ed25ed16c3a9c2a45a8d191ac6279196126ff |
| parent | 88d0f485263bbbef14e23e42b82b1bbfb3f57f76 |
| author | Andre Hartmann <aha_1980@gmx.de> |
| committer | Andre Hartmann <aha_1980@gmx.de> |
| commit time | Wed, 8 Apr 2026 16:34:57 +0200 |