diff options
author | Joe Slater <joe.slater@windriver.com> | 2020-12-18 13:43:50 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-12-18 08:23:14 -0800 |
commit | 60a95ba16ec29d9cb8be32436bb0f96b2a5106aa (patch) | |
tree | 07ac9dac7579e04ffae68c78b718cdf699c3fbfa /meta-filesystems | |
parent | 47286a92d4410cdd7bd5dbce6dd31447f594538e (diff) | |
download | meta-openembedded-contrib-60a95ba16ec29d9cb8be32436bb0f96b2a5106aa.tar.gz |
multipath-tools: fix error handling for udev_monitor_set_receive_buffer_size
Since systemd v246.5[1], udev_monitor_set_receive_buffer_size() will
return 0 or 1 if successful. We only need to check a negative value for
the failure.
[1] https://github.com/systemd/systemd-stable/commit/4dcae666889ae9469e4406c0bcaffadbc01c4f66
https://github.com/systemd/systemd-stable/commit/fe9b92e566f837665cc06c82374e4e42f9295c99
https://github.com/systemd/systemd-stable/commit/5dd4cc4b10daea5d2ba969425ba02d2098dd06a4
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems')
0 files changed, 0 insertions, 0 deletions