diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-12 21:07:14 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-14 09:18:29 +0900 |
commit | 1a3caa49d757ed0b90f86d0f1c3eee55a1588e61 (patch) | |
tree | deed0a1663b26e3a83816c789f5b6059e9caba51 /src/shared/net-condition.h | |
parent | 170e88c8e3f321590688e4cd68e829ef6abe7101 (diff) | |
download | systemd-1a3caa49d757ed0b90f86d0f1c3eee55a1588e61.tar.gz |
udev,network: make link_get_type_string() return negative errno on failure
And make net_match_config() propagate the error.
Diffstat (limited to 'src/shared/net-condition.h')
-rw-r--r-- | src/shared/net-condition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/net-condition.h b/src/shared/net-condition.h index 8d85fc8a7f..d61537e5e3 100644 --- a/src/shared/net-condition.h +++ b/src/shared/net-condition.h @@ -26,7 +26,7 @@ typedef struct NetMatch { void net_match_clear(NetMatch *match); bool net_match_is_empty(const NetMatch *match); -bool net_match_config( +int net_match_config( const NetMatch *match, sd_device *device, const struct ether_addr *mac, |