diff options
Diffstat (limited to 'uevent')
-rw-r--r-- | uevent/uevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uevent/uevent.c b/uevent/uevent.c index e40aa2e..a723caf 100644 --- a/uevent/uevent.c +++ b/uevent/uevent.c @@ -48,7 +48,7 @@ int uevent_init() memset(&addr, 0, sizeof(addr)); addr.nl_family = AF_NETLINK; - addr.nl_pid = getpid(); + addr.nl_pid = 0; addr.nl_groups = 0xffffffff; s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); |