Fix that atactl sd0 readattr didn't work for some disks. Change it to
authoryasuoka <yasuoka@openbsd.org>
Sun, 30 Apr 2023 00:58:38 +0000 (00:58 +0000)
committeryasuoka <yasuoka@openbsd.org>
Sun, 30 Apr 2023 00:58:38 +0000 (00:58 +0000)
commit5095123fcd621e1f1356d8fda42ce7aeb7e57f5b
treef363c3413aca67ade53f79509e7458554962a857
parent89f0212b2c6b86542270415ebaa31ef6bca8660d
Fix that atactl sd0 readattr didn't work for some disks.  Change it to
check the cksums of the attribute values instead of comparing the
revisions.  diff from NetBSD through naito.yuichiro at gmail.com. test
by kolipe.c at exoticsilicon.com.

ok kevlo miod deraadt
sbin/atactl/atactl.c