diff mbox series

Patch

Message ID CAFSktxaxM1KFViQUpr6SQV54=MpdPWOZpb41vTRk1UHtLfv9fw@mail.gmail.com
State New
Headers show
Series Patch | expand

Commit Message

Solegaiter June 18, 2024, 4:19 p.m. UTC
This patches a bug that made it impossible to compile on gentoo musl.

Comments

bluez.test.bot@gmail.com June 18, 2024, 4:40 p.m. UTC | #1
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: client/player.c:5142
error: client/player.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/client/player.c b/client/player.c
index 25fd837..47b5d0a 100644
--- a/client/player.c
+++ b/client/player.c
@@ -5142,7 +5142,7 @@  static void cmd_send_transport(int argc, char *argv[])
 			struct sockaddr_iso addr;
 			socklen_t optlen;
 
-			err = getpeername(transport->sk, &addr, &optlen);
+			err = getpeername(transport->sk, (struct sockaddr *)&addr, &optlen);
 			if (!err) {
 				if (!(bacmp(&addr.iso_bdaddr, BDADDR_ANY)))
 					err = transport_send(transport, fd,