git: 4acd63a6266c - main - libusb: Fix netlink sysevent multicast group name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Jun 2025 19:31:57 UTC
The branch main has been updated by hrs:
URL: https://cgit.FreeBSD.org/src/commit/?id=4acd63a6266cffe45db2c6887ef1ccd38c8d3ffa
commit 4acd63a6266cffe45db2c6887ef1ccd38c8d3ffa
Author: SHENGYI HUNG <aokblast@FreeBSD.org>
AuthorDate: 2025-06-12 19:18:38 +0000
Commit: Hiroki Sato <hrs@FreeBSD.org>
CommitDate: 2025-06-12 19:30:29 +0000
libusb: Fix netlink sysevent multicast group name
Reviewed by: hrs
Differential Revision: https://reviews.freebsd.org/D50739
---
lib/libusb/libusb10_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libusb/libusb10_hotplug.c b/lib/libusb/libusb10_hotplug.c
index 1e8037da1bd4..f148e4dd43f5 100644
--- a/lib/libusb/libusb10_hotplug.c
+++ b/lib/libusb/libusb10_hotplug.c
@@ -73,7 +73,7 @@ netlink_init(libusb_context *ctx)
if (modfind("nlsysevent") < 0)
return (false);
if (!snl_init(&ctx->ss, NETLINK_GENERIC) || (group =
- snl_get_genl_mcast_group(&ctx->ss, "nlsysevent", "ACPI", NULL)) == 0)
+ snl_get_genl_mcast_group(&ctx->ss, "nlsysevent", "USB", NULL)) == 0)
return (false);
if (setsockopt(ctx->ss.fd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &group,