ports/net/libiscsi/files/patch-lib_socket.c
Martin Birgmeier 9289343def net/libiscsi: Update 1.20.0.240205 => 1.20.1
Commit log:
https://github.com/sahlberg/libiscsi/compare/1.20.1...1.20.2

- Add libthr search to configure.ac.
- Add STRIP_CMD as suggested by poudriere testport.
- Refresh patches.
- Bump consumers (emulators/qemu and emulators/qemu8) in next commmit
  because the soname is bumped.

PR:		286546
Co-authored-by:	vvd
2025-05-06 20:35:37 +03:00

21 lines
624 B
C

--- lib/socket.c.orig 2025-05-03 00:02:42 UTC
+++ lib/socket.c
@@ -162,7 +162,7 @@ iscsi_add_to_outqueue(struct iscsi_context *iscsi, str
return;
}
-void iscsi_decrement_iface_rr() {
+void iscsi_decrement_iface_rr(void) {
/* TODO QQQ use an atomic here */
iface_rr--;
}
@@ -579,7 +579,7 @@ iscsi_iovector_readv_writev(struct iscsi_context *iscs
if (pos < iovector->offset) {
iscsi_set_error(iscsi, "%s: iovector reset. pos(%d) is smaller than"
- "current offset(%ld)", rw, pos, iovector->offset);
+ "current offset(%zd)", rw, pos, iovector->offset);
errno = EINVAL;
return -1;
}