]> git.ipfire.org Git - thirdparty/collectd.git/commit
Fic smart_test.c for big endian. (#3799)
authorBernd Zeimetz <bernd@bzed.de>
Tue, 21 Sep 2021 08:44:27 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 08:44:27 +0000 (10:44 +0200)
commitd228c3129c270754b61bf3caae0af36bc7a9c73a
treeeebcd958d4a037036f53b3c61650a291200976f9
parentfe12c24b29af636edea8e72b7cedbb5315ae3d73
Fic smart_test.c for big endian. (#3799)

get_vendor_id from smart.c assumes that VENDOR_ID is le16, so we
need to convert it into le16 in the fake-ioctl function in smart_test.c.

Fixes #3791

Signed-off-by: Bernd Zeimetz <bernd@bzed.de>
src/smart_test.c