diff options
Diffstat (limited to 'internal/uevent/uevent.go')
| -rw-r--r-- | internal/uevent/uevent.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/uevent/uevent.go b/internal/uevent/uevent.go index 47091f59..25fd02be 100644 --- a/internal/uevent/uevent.go +++ b/internal/uevent/uevent.go @@ -50,9 +50,9 @@ func (c *Conn) exitExcl() { c.excl.Store(false) } func (c *Conn) Close() error { return c.conn.Close() } // Dial returns the address of a newly connected [Conn]. -func Dial() (*Conn, error) { +func Dial(rcvbuf int64) (*Conn, error) { // kernel group is hard coded in lib/kobject_uevent.c, undocumented - c, err := netlink.Dial(syscall.NETLINK_KOBJECT_UEVENT, 1) + c, err := netlink.Dial(syscall.NETLINK_KOBJECT_UEVENT, 1, rcvbuf) if err != nil { return nil, err } |
