mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
net/libiscsi: generalize arm and i386 fix for powerpc
This commit is contained in:
parent
c02ce0e662
commit
406e2dec9a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
capacity = block_length * (rc16->returned_lba + 1);
|
capacity = block_length * (rc16->returned_lba + 1);
|
||||||
if (offset > capacity) {
|
if (offset > capacity) {
|
||||||
+#if defined(__i386__) || defined(__arm__)
|
+#ifndef __LP64__
|
||||||
+ fprintf(stderr,"Offset(%llu) exceeds capacity(%llu)\n", offset, capacity);
|
+ fprintf(stderr,"Offset(%llu) exceeds capacity(%llu)\n", offset, capacity);
|
||||||
+#else
|
+#else
|
||||||
fprintf(stderr,"Offset(%lu) exceeds capacity(%lu)\n", offset, capacity);
|
fprintf(stderr,"Offset(%lu) exceeds capacity(%lu)\n", offset, capacity);
|
||||||
|
|
Loading…
Add table
Reference in a new issue