net/libiscsi: generalize arm and i386 fix for powerpc

This commit is contained in:
Piotr Kubaj 2025-01-11 12:11:38 +01:00
parent c02ce0e662
commit 406e2dec9a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
capacity = block_length * (rc16->returned_lba + 1);
if (offset > capacity) {
+#if defined(__i386__) || defined(__arm__)
+#ifndef __LP64__
+ fprintf(stderr,"Offset(%llu) exceeds capacity(%llu)\n", offset, capacity);
+#else
fprintf(stderr,"Offset(%lu) exceeds capacity(%lu)\n", offset, capacity);