mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-25 10:12:13 +03:00
Fix the build of crypto_test on LP32 architectures
test->id is a uint64_t, not a long. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Alan Somers <asomers@gmail.com> Sponsored by: ConnectWise Closes #17707
This commit is contained in:
parent
e2e708241a
commit
177e9d07d0
@ -863,7 +863,8 @@ test_result(const crypto_test_t *test, int encrypt_rv, uint8_t *encrypt_buf,
|
|||||||
return (pass);
|
return (pass);
|
||||||
|
|
||||||
/* print summary of test result */
|
/* print summary of test result */
|
||||||
printf("%s[%lu]: encrypt=%s decrypt=%s\n", test->fileloc, test->id,
|
printf("%s[%ju]: encrypt=%s decrypt=%s\n", test->fileloc,
|
||||||
|
(uintmax_t)test->id,
|
||||||
encrypt_pass ? "PASS" : "FAIL",
|
encrypt_pass ? "PASS" : "FAIL",
|
||||||
decrypt_pass ? "PASS" : "FAIL");
|
decrypt_pass ? "PASS" : "FAIL");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user