FreeBSD Bugzilla – Attachment 252739 Details for
Bug 280800
net/libiscsi: fix build on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch to utils/discard.c
patch-utils_discard.c (text/plain), 448 bytes, created by
Martin Birgmeier
on 2024-08-13 17:25:56 UTC
(
hide
)
Description:
patch to utils/discard.c
Filename:
MIME Type:
Creator:
Martin Birgmeier
Created:
2024-08-13 17:25:56 UTC
Size:
448 bytes
patch
obsolete
>--- ./utils/iscsi-discard.c.ORIG 2024-02-06 00:51:38.000000000 +0100 >+++ ./utils/iscsi-discard.c 2024-08-13 19:15:06.740466000 +0200 >@@ -220,7 +220,11 @@ > > capacity = block_length * (rc16->returned_lba + 1); > if (offset > capacity) { >+#ifdef __i386__ >+ fprintf(stderr,"Offset(%llu) exceeds capacity(%llu)\n", offset, capacity); >+#else > fprintf(stderr,"Offset(%lu) exceeds capacity(%lu)\n", offset, capacity); >+#endif > goto free_task; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 280800
:
252738
| 252739