diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-09-18 00:52:07 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-09-18 01:29:40 +0900 |
commit | 2f5b282aab78bd2378df428c57c5fd1cc09e9f4f (patch) | |
tree | e17ec727f1eac4f97757d6664c1a7f9a2c33754d /src/udev | |
parent | 69cebea78a07f67436108323138356f99bb69d33 (diff) | |
download | systemd-2f5b282aab78bd2378df428c57c5fd1cc09e9f4f.tar.gz |
udevadm: missing initialization of descriptor
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-ctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index b38370883f..751e034982 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -76,6 +76,7 @@ int udev_ctrl_new_from_fd(struct udev_ctrl **ret, int fd) { *uctrl = (struct udev_ctrl) { .n_ref = 1, .sock = fd >= 0 ? fd : TAKE_FD(sock), + .sock_connect = -1, .bound = fd >= 0, }; |