Date: Sun, 12 Jan 2025 21:43:16 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 406e2dec9af9 - main - net/libiscsi: generalize arm and i386 fix for powerpc Message-ID: <202501122143.50CLhGST097210@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=406e2dec9af9c1be3f802f7413a242b2671e347d commit 406e2dec9af9c1be3f802f7413a242b2671e347d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-11 11:11:38 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:36:52 +0000 net/libiscsi: generalize arm and i386 fix for powerpc --- net/libiscsi/files/patch-utils_iscsi-discard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/libiscsi/files/patch-utils_iscsi-discard.c b/net/libiscsi/files/patch-utils_iscsi-discard.c index edcb51334243..a1452a04ac04 100644 --- a/net/libiscsi/files/patch-utils_iscsi-discard.c +++ b/net/libiscsi/files/patch-utils_iscsi-discard.c @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhGST097210>